httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Behlendorf <>
Subject Re: Virtual Hosting w/ mod_rewrite (complete solution?)
Date Fri, 27 Feb 1998 03:36:52 GMT
At 11:52 AM 2/26/98 -0500, Brian Atkins wrote:
>Ralf S. Engelschall wrote:
>> -----------------------------------
>> ##
>> ##
>> ##
>> www.vhost1.dom:80  /path/to/docroot/vhost1
>> www.vhost2.dom:80  /path/to/docroot/vhost2
>>      :
>> www.vhostN.dom:80  /path/to/docroot/vhostN
>> -----------------------------------
>We have ours set up to deal with our subdomains instead of
> type names (i.e. This
>way we do not need a config file like this that may take
>up a lot of mem in each process (we have over 11k vhosts now
>on one box). 

Agreed.  It'd be nice to have something just like mod_userdir that
translates requests for a.b.c into a server root of
/specified/path/port/a.b.c/.  That would simplify lots of things.
ServerAliases could simply be done as symlinks.  wildcards handled using a
symlink filename of "*.b.c" (hey, Unix can handle it!)  :)

The advantage is that a module could be written (perhaps modeled closely
after mod_userdir) to do this without needing to link in mod_rewrite.  I
love mod_rewrite, but being able to accomplish this without using it would
be preferable IMHO.

Dean, please don't mention the case of "Host: www".  Please?  :)


specialization is for insects

View raw message