Alias Domains creating Trailing Slash

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

  1. Vamiris

    Vamiris New Member

    Hello,

    using Alias Domains, ISP Config creates vhosts like this:

    RewriteRule ^/(.*)$ http://www.domain.de/folder/file.html/$1
    RewriteCond %{HTTP_HOST} ^www.aliasdomain.de$ [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 http://www.domain.de/folder/file.html

    Auto Subdomain is www

    Kind Regards
    Christian
     
  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.
     

Share This Page