You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mitch Vincent <mi...@unixprogramming.net> on 2002/09/16 01:55:23 UTC
[users@httpd] mod_vhost_alias dilema
I'm hosting a lot of websites and am interesting in getting more
organized.. I had used the rewrite module to do this before but I see
the mod_vhost_alias module it looks like a little less hackish way of
accomplishing the same thing...
What I want to do is organize directories like this :
/usr/site/www/<domain>/<requested URL>
but I can't seem to get the rules to work for every hostname.. Using
/usr/site/www/%2+/%0
gets it right when someone wants www.example.com but not when someone
wants www.something.example.com
and /usr/site/www/%3+/%0
gets it when they want www.something.example.com but not www.example.com
Am I missing something simple? I doubt I'm the first to want to
organize things this way but I can't seem to find anything on how to do
it..
Thanks!!!
-Mitch
Linux is for people that hate Microsoft. FreeBSD is for people that
love UNIX.
---------------------------------------------------------------------
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