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] mod_alias failing with multiple VirtualHosts
Date Mon, 14 May 2007 15:09:39 GMT
On 5/13/07, Nikolai Lusan <nikolai.lusan@hitwise.com> wrote:
> Greetings,
>
> I have an ongoing issue with mod_alias directives failing to work. I
> have tested all my configurations and they are not only syntactically
> correct but they are completely valid, however if I run 2 or more
> VirtualHosts on the same IP all the Redirect and Alias directives stop
> working (ReWrites, php and other modular things continue to work).

I don't see any obvious explanation for the behavior you are talking
about. This probably means that there is a simple error someplace in
your config. But when you obscure all your config snippets and don't
quote actual log messages, it becomes much harder to track those
things down.

One thing to note: if you want exactly the same Alias/Redirect to
apply to all vhosts, you can simply place it outside the
<VirtualHost>s in the main server context.

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