On 06/01/2011 10:33 PM, Friedrich Locke wrote:
Hi list users,

this is my first post on this mailing list. My doubt is the following:

Is it possible to redirect a document root based on the site address
like in a template manner wihtout having to configure for each virtual
system ?

I mean this:

Access to http://x.y.z/abc.html should be mapped to documentroot
/var/web/x.y.z/abc.html ? but without having to set each mapping?


Yes; use mass virtual hosting:

    VirtualDocumentRoot /var/web/%0/



--
J.


---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to