Alias Domains creating Trailing Slash

Discussion in 'Installation/Configuration' started by Vamiris, Dec 1, 2012.

  1. Vamiris

    Vamiris New Member


    using Alias Domains, ISP Config creates vhosts like this:

    RewriteRule ^/(.*)$$1
    RewriteCond %{HTTP_HOST} ^$ [NC]

    How can I get rid off of the trailing slash at the end?

    In the Backend, I use an Alias Domain, Redirect no flag to

    Auto Subdomain is www

    Kind Regards
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The redirect feature is for redirects to directries only, so a slash is added automatically. This is required for security.

    If you want to add redirects to files, then add the redierct rules into a.htaccess file of the site or in the apache directives field of the website.
    Vamiris likes this.

Share This Page