[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] How to config Apache to map http://domain.com/~tong to http://domain.com/tong ? without ln -s



On Sun, 29 Apr 2001, Tong wrote:

> I would like to quickly access user home webpage by remove ~
> 
> ex:
> 
> http://domain.com/~tong     ->     http://domain.com/tong
> 
> How do I modify httpd.conf ?
> 

I am not sure that this is at all possible... you see you could have
picked any other sign instead of ~ (cobalt did that. try
www.domain.tld/users/username) but disabling it completely, I don't
see how will the server know, for instance, to go and visit the user
"images" web directory, and not the "images" directory in the main site...

I think that the only way to do this, is to create users' accounts with
/home/sites/www.domain.tld/web/username as the homedir, but that way, they
won't have private directories (sure, they can chmod their info to
700/600, but we don't want hard work for the customers... that's why we got 
cobalts the first place, I think) :)

> Thank for advance.
> Tong/.
> 

- shimi