Check out this sample chapter from Pro Apache 3rd edition, 
by Peter Wainwright. It covers hosting more than one 
website.

http://www.apress.com/book/supplementDownload.html?bID=275&sID=2134

You may need to use user's home directories to add sites on 
the fly.

I'm not sure if there is a way to add virtual host's 
dynamically, unless you use something like redirection.
But even then the redirection rules would need to be in the 
config file.

HTH

Keith

In theory, theory and practice are the same;
In practice they are not. 

On Sun, 15 Jan 2006, Gary W. Smith wrote:

> To: users@httpd.apache.org
> From: Gary W. Smith <[EMAIL PROTECTED]>
> Subject: [EMAIL PROTECTED] Auto Vhost question
> 
> Is this following possible and if so how could it be accomplished?
> 
> We have a number of users on a web server that access the system via
> users.domain.com/theirloginid (note that this isn't ~theirloginid).  Is
> it possible to configure a vhost in such a way that they are
> theirloginid.users.domain.com without having to modify the apache
> configuration or restart apache each time a user is added?
> 
> We have 350 users and would like to be able to add them on the fly.
> >From a DNS perspective it's simple.  That site is using DNS with a mysql
> backend.  It would be nice if we could pull the vhost information
> directly from mysql as well.
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to