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

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

 



Jon Drukman wrote:
is there a way to substitute the documentroot variable instead of hardcoding it? we have the same rewrite file used by many many virtualhosts, and being able to refer to just /misc/whatever and have it automatically map to the correct docroot would be extremely valuable.

i should have just RTFM... the answer is %{DOCUMENT_ROOT}

i'm all set now, thanks


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