httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <>
Subject Re: [users@httpd] RewriteRule and VirtualDocumentRoot: How do they interract ?
Date Thu, 14 Jan 2010 18:53:09 GMT
On 1/14/10, Thomas Preud'homme <> 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

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message