Re: Overriding <Location />

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

 



On 9/4/07, Aaron Dalton <aaron@xxxxxxxxxx> wrote:
> I have an overarching <Location /> directive that passes everything in
> my virtual host through a home-rolled handler.  I would like create a
> few directory aliases, though, that bypass this handler.  As far as I
> know, however, Locations are processed before Directories.  How can I
> accomplish this?  Here's what I want to do:
>
> Alias /js /foo/bar/js
> <Directory /foo/bar/js>
>         Allow from all
> </Directory>
>
> <Location />
>         # mod_perl handler stuff
> </Location>

No, Location is processed after Directory and the last match usually wins.

Why not put the mod_perl stuff in a <Directory> section instead?

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