Aliasdomain redirects

Discussion in 'General' started by Xenocide, Jan 11, 2011.

  1. Xenocide

    Xenocide Member

    Hi Guys,

    I had a bit of a problem whereby alias domains were being redirected properly when you entered but not even though you had *. selected in auto subdomain.

    I saw it was because the vhost file generated was using:
    RewriteCond %{HTTP_HOST}   ^ [NC]
    Which means match if it starts "<start_of_line>". I removed the "hat" character (what is that called?) and now works fine so I updated ./conf/vhost.conf.master thus:

    ./conf/vhost.conf.master:    RewriteCond %{HTTP_HOST}   <tmpl_var name='rewrite_domain'> [NC]
    ./conf/vhost.conf.master:    RewriteCond %{HTTP_HOST}   ^<tmpl_var name='rewrite_domain'> [NC]
    I think that'd be a good change for future versions? Thoughts?
  2. falko

    falko Super Moderator ISPConfig Developer

    I've added this to our bugtracker for revision. :)

Share This Page