httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] mod_vhost_alias - last time, I promise
Date Thu, 19 Sep 2002 18:04:17 GMT
Mitch Vincent wrote:
>> If I make the guess that you always want <domain> to be the last two 
>> parts of the hostname, then you would simply use %-2+, which would get 
>> you an example.com result from both www.something.example.com and 
>> www.example.com.  If that is not what you want, you'll have to 
>> actually tell us what it is you do want.
>>
> 
> I want to organize my filesystem like this :
> 
> /usr/site/www/example.com/anything.in.the.world.from.example.com
> 
> I want to have al hostname of example.com under a directory called 
> example.com
> 
> Sorry for not being clear, thank you for the reply!

Yep, that's clearer and my guess was right.  So use %-2+ to get the last 
two parts of the hostname.

Joshua.


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


Mime
View raw message