Aliasing a directory, which is already covered by a <location>

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

 



Hello!

I'm trying to configure Apache in a way that all requests to /xyz/i/ (and subdirectories) are pointed to a local directory while all other requests to /xyz/ are handled by a handler defined in a <Location> directive.

This so currently my configuration looks something like this:
Alias /pls/apex/i "/oracle/product/apex/images/"

<Location "/pls/apex">
   Order deny,allow
   AllowOverride None
   SetHandler                  pls_handler
   Allow from all
</Location>
(mod_plsql specific stuff removed)

The problem is, Apache processes the <Location> directives before processing aliases, so the above doesn't work. I tried restricting the <Location> to cover only URLs which don't contain /i/ using regular expressions, but that didn't seem to work either.

Any ideas to solve this problem are welcome.


Taavi

---------------------------------------------------------------------
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