httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Eilebrecht <Lars.Eilebre...@unix-ag.org>
Subject RE: Virtual Hosting w/ mod_rewrite (complete solution?)
Date Fri, 27 Feb 1998 13:46:27 GMT
According to Ralf S. Engelschall:

>  -----------------------------------
> ##
> ##  vhost.map 
> ## 
>  www.vhost1.dom:80  /path/to/docroot/vhost1
>  www.vhost2.dom:80  /path/to/docroot/vhost2
>       :
>  www.vhostN.dom:80  /path/to/docroot/vhostN
>  -----------------------------------

Hmm... why do we need a map?
If the "/path/to/docroot" is common for all vhosts
I would simply use the domainname as a subdirectory and rewrite
"www.vhost1.dom" to "/path/to/docroot/vhost/www.vhost1.dom".

Or I'm missing something?


ciao...
-- 
Lars Eilebrecht                      - You don't have to be crazy to live
sfx@unix-ag.org                        - in this planet... but it helps.
http://www.si.unix-ag.org/~sfx/


Mime
View raw message