Re: [users@httpd] Looking for a Favicon/Robots Solution

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/9/05, Boyle Owen <Owen.Boyle@xxxxxxx> 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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux