RewriteRule and Location problem

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

 



I've set up an Alias to my docroot so that I can have all requests to the Alias restricted to a certain set of users inside of a Location block, and all requests to the real docroot restricted to a different set of users inside of a different Location block.

The problem I'm running into is one of the applications on the server doesn't work with www.example.com/alias/app, it only works with www.example.com/app.  I set up a RewriteRule to rewrite /alias/app to /app, and that makes the application work, but then <Location /app> is addressed instead of <Location /alias>.  Is there any way around this?

- Grant

[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