httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] Looking for a Favicon/Robots Solution
Date Tue, 10 May 2005 16:28:21 GMT
On 5/9/05, Boyle Owen <Owen.Boyle@swx.com> wrote:
> > I put that in my main server conf file thinking that it would
> > catch all
> > addresses, and if it failed to find one of the files, it
> > would spit out the
> > common file. This hit a glitch though, it appears that Apache
> > sends the address
> > information to the virtual host before running it through the
> > main config
> > (unless i have something else wrong). This means that I can't
> > just write this
> > one rule once, I would have to put it into every single
> > virtualhost.
> 
> Exactly. The request is assigned to a particular VH based on it's TCP/IP and HTTP header
attributes. Thereafter, the only directives which apply to it are those inside the VH container
or those "outside" which have "server" context (see
> http://httpd.apache.org/docs-2.0/mod/directive-dict.html#Context ).
> 
> You need to put the rule in every VH...

Or set RewriteOptions inherit in all the vhosts.

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