Re: RewriteRule and VirtualDocumentRoot: How do they interract ?

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

 



On 1/14/10, Thomas Preud'homme <thomas.preudhomme@xxxxxxxxx> wrote:
> Greetings,
>
>  === Context ===
> What I don't understand is that after the substitution,
>  apache look for the file by prepending document_root (/htdocs on my server) to
>  the substitution. But I use VirtualDocumentRoot and no DocumentRoot so that my
>  files are usually accessed via the value of VirtualDocumentRoot.

See the PT flag + using a URL-path in your substitution instead of a
filesystem path.

PT is implicit in per-directory.  It's what allows "other" modules to
to a URL->filesystem mapping, otherwise they don't see the output of
your rewrite.

-- 
Eric Covener
covener@xxxxxxxxx

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