httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] single webpage redirect
Date Mon, 07 May 2007 01:19:07 GMT
On 5/6/07, Dave Henderson <dhenderson@digital-pipe.com> wrote:

>     You were right, that worked like a charm!  Why wouldn't a ServerAlias
> provide the same functionality?

Because with a ServerAlias, the redirect will again hit the same
<VirtualHost>, causing the redirect to applied again, causing a loop.
You need the separate <VirtualHost> so that one name will be
redirected and the other won't.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message