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

Re: [cobalt-users] Change default user's website URL "users/my_user" to "my_user"



On 4 Aug 2000, at 11:41, Jean-Philippe CAZARD wrote:

> I'm sorry if my question as already been discussed in this list, but
> after a long search is the list archives, I don't have found THE good
> solution for a problem which probably has been solved by many of you :
> 
> On a website www.domain.com (directory site# on the server) if I
> create a user "joe" :
> 
> 1- His website URL is www.domain.com/users/joe
> 2- His website is physically in directory site#/users/joe

We use the following on our hosting sites.  Someone else in this 
post suggested a  sym link - the following is how I set it up:

telnet to raq and su

ln -s /home/sites/site#/users/joe/web /home/sites/site#/web/joe

(notice the space between /joe/web /home/sites)

cd /home/sites/site#/web

chown joe.home joe/

www.domain.com/~joe will now be www.domain.com/joe

The client (joe) uploads in his normal account in the /web directory

Hope this helps,

Regards,
Vic Chisnell