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

Re: [cobalt-developers] Users personal web space issue



Bigwig Support wrote:

>  This is now causing a problem when anyone needs to FTP into the site as it
> takes ages to get the directory listing because of the 1000's of symlinks.

RaQs are NOT designed to handle thousands of users.  You probably should
not be using a RaQ to serve that many users.  When I owned a much
smaller ISP I ran a separate "generic linux" email server which also ran
webspace for the users.

> I have looked back through the archives and found out how to get to the
> users web space by typing:
> www.domain.com/user
> instead of
> www.domain.com/~user
> However I now want to be able to go to their webspace by typing
> www.domain.com/emailalias
> Is this possible without creating a symlink in the web root to the users
> personal webspace?

There's no way for the RaQ to know the user's email alias.  You either
have to symlink from the web-directory to the user's webspace, or from
the user's webspace to subdirectories you create under the main site
directory.  Or you can change the user's home directory in /etc/passwd.

How did you do it before you switched to RaQs?  The latter way?  It will
work on a RaQ as long as you never make changes to the user information
through the gui after you've set it up and made the change.  If you do,
you risk overwriting the changes in /etc/passwd.

That said, with thousands of users, I'd host their webspace and perhaps
their email, on a generic linux machine, not on a RaQ.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
Linux and Cobalt/Sun/RaQ Consulting
nobaloney.net
P. O. Box 52672, Riverside, CA  92517
voice: (909) 778-9980  *  fax: (702) 548-9484