Hi There

I'm running apache 2.2 on Ubuntu and I need to serve up a different
directory depending on the user that is authorised with the server. I've
check the mailing list and apache docs but haven't found much so far - I may
just not have the proper search terms though (I don't know how best to
describe it)

eg.

http://spi...@foo.com -> /var/www/private/spidie
http://f...@foo.com -> /var/www/private/fred

etc etc.

I have the authentication stuff running ok - that's not really my problem -
I just need to inspect the user and serve up the appropriate directory.

I believe it can probably be done using a mod_perl handler... but I'm not
great with perl so thought I'd check on the list to see if there is an
easier way first. The only thing I found that was remotely close was
http://httpd.apache.org/docs/2.2/mod/mod_vhost_alias.html

Thanks in advance
Steve

Reply via email to