Good afternoon all,
Something is driving me crazy, i have a machine running Debian with Apache 1.3
I have bout 500 users on the machine, all being virtual domains.
Some domains are in
/home/~username and some are in
now i want the following to happen, when somebody types in the browser
and the username exists in /home/username,
it should point to /home/~username/www (this works, both with the userdir module
or aliasmatch... however, the problem arrises when there's a situation where
a request is made for http://ip.ip.ip.ip/group/username
, this is then being
rewritten or translated to /home/group/www/username, but it should be
it gets even more complicate if there are subdirectories in that homedirectory.
Now i can think of a theoretical solution, which is to recursively check if
a directory exists and perform a translation.. i know this is possible using
rewriterule and rewritecond (although not sure if it can be applid recursively)
is there anybody that knows a simpler solution or that can point me in the
direction of such ?