[users@httpd] Re: mod_rewrite doesn't always prefix with document_root

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

 



Joshua Slive wrote:
On 3/17/06, Jon Drukman <jsd@xxxxxxxxxxxxx> wrote:

I've got the following rule in my config:

rewriterule ^/e3/(.*) /misc/e3/$1 [L]

It doesn't work.  If I change the "/misc" to "/test", it does.


Do you happen to have a /misc/e3 directory off your filesystem root? If so, mod_rewrite assumes you want that.

i have a /misc but no /misc/e3. i can work around it using robert's suggestion.

-jsd-


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