Re: non-standard user directories and apache
On Thu, 13.01.00 20:02 +0100, Marcin Owsiany wrote:
> /home/company1/userx
> UserDir /home/*/public_html
If there are several companies underneith /home you should try
an apache module that was written by Ralf S. Engelshall. I can't
remember it's name - mod_replace, mod_regex or mod_rewrite...
It allowes you to rewrite any URL based on several rules like regex
and I think even on scripts. Then you could do a script that searches
with "find" for the directory and gives that dir back as substitution
variable for ~user.
If mod_rewrite isn't the right one, look for mod_perl or most simple
if mod_alias/mod_userdir does support a kind of external mapping file
for userdirs.
bye,
-christian-
--
Linux - the choice of the GNU generation. Join the Debian Project
http://www.debian.org
Christian Hammers * Oberer Heidweg 35 * D-52477 Alsdorf * Tel: 02404-25624
50 3C 52 26 3E 52 E7 20 D2 A1 F5 16 C4 C9 D4 D3 1024/925BCB55 1997/11/01
Reply to: