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

Re: [cobalt-users] Save on using Virtual Sites



"Ian" <ian@xxxxxxxxxxxxxxxxxxxx> wrote:
> Was wondering if it is possible to somehow save on the available number of
> sites that a RaQ4r can accommodate, i.e. it is stated that it can host
upto
> 250 virtual sites, but can this be overcome without actually altering say
> some file which contains this restriction.

Ian, AFAIK, the 250 "limit" is just a marketing ploy.  I don't believe
there's been a hard coded limited since the RaQ1, which had a 75 site limit
which was hard coded and could be altered by editing a file (I haven't done
it since 1999 so no one ask me the file please).

> A virtual site of www.hosting-domain.com and then having users coming of
> this, i.e. the usual ones of www.hosting-domain.com/~user01 etc.
>
> But by some settings maybe in DNS or the httpd files make it so that any
> calls to www.clients-domain.com is served by the
> www.hosting-domain.com/~user01 folder, whilst still showing only the
> www.clients-domain.com URL.

You can do that using mod_rewrite in Apache.  See apache.org, apache server,
1.3, directives for more info.  I make heavy use of mod_rewrite myself.
Cobalt even uses it in their default Apache setup.  See the VirtualHost
containers for each site in httpd.conf for info.

> I know that a lot of servers are capable of this, i.e. having a main
hosting
> account with sub accounts served from its folders, but is this possible
from
> within a RaQ4r?

Yes.

> Also, how would I ensure that emails were sent/forwarded to the ~user01
> email (POP3) account or could it also be setup some how to sort this one
> out.

Since I don't think there actually is a 250 site limit I'm not going to
spend my time working out the solution for you.  Why not test adding a 251st
site and then let us know what you find, then I'll help time permitting.

--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/