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

RE: Apache VirtualDocumentRoot



Hi!

  I think that mod_rewrite or mod_vhosts_alias can do that.
  take a look at http://modules.apache.org

cheers
Marcelo Gulin

----- Original Message -----
From: Russell Coker <russell@coker.com.au>
To: <debian-isp@lists.debian.org>
Sent: Wednesday, May 02, 2001 5:35 AM
Subject: Apache VirtualDocumentRoot


> Here is my Apache VirtualDocumentRoot setting:
> VirtualDocumentRoot /www/%-1/%-2/%-3/%-4+
>
> Now for URLs such as "http://company.com/"; this will be expanded to
> /www/com/company/_/_/ !
>
> Currently I am putting sym-links from "_" to "." in the directories
> /www/com/company/ but this is a real hack.  Does anyone know of a good way
of
> doing this in Apache?
>
> --
> http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
> http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
> http://www.coker.com.au/projects.html Projects I am working on
> http://www.coker.com.au/~russell/     My home page
>
>
> --
> To UNSUBSCRIBE, email to debian-isp-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
>
>



Reply to: