httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "plot.lost" <>
Subject [users@httpd] RedirectMatch using current server name
Date Fri, 12 Oct 2012 13:15:03 GMT
Is  there a way to do something like the following where the domain part 
is replaced by whatever has been configured in ServerName

RedirectMatch permanent ^/$

i.e. where '' is whatever the current ServerName is 
without having to edit the RedirectMatch line (it would be in a config 
section that gets included into several different virtual hosts). Want 
to keep this in the main config files, not in any .htacess files

Thanks in advance for any help on this.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message