ozzieonline

Well-Known Member
Dec 20, 2012
126
0
16
cPanel Access Level
Root Administrator
Hi everyone,

I would like to use a HTTP_HOST variable in AliasMatch

Instead of this:

AliasMatch ^/content/domain/(.*)$ /home/ozzieonline/public_html/content/domain/www.ozzieonline.com/$1

I want to do this:

AliasMatch ^/content/domain/(.*)$ /home/ozzieonline/public_html/content/domain/%{HTTP_HOST}/$1

However, I can't get it to work. Does anyone know how to fix it?