I have a wee question in relation to mod_vhost_alias in apache.
Currently I normally lay out my webservers filesystem as follows
All websites are kept here on LVM
So a site that is called "adomianname.com" would have the following file
and dir structure
/www/sites/a/adomainname.com -- FTP home
/www/sites/a/adomainname.com/html -- DocumentRoot
/www/sites/a/admomainname.com/cgi-bin -- Script Alias
A site that had a b as the start of its domain name would look like
Additionall log files are kept in more or less the same way.
/www/sites us broken down in alphabeth and number 0-9 (/www/sites/a
/www/sites/b /www/sites/2 etc)
So you follow how I am doing things.
I would like to use mod_vhost_alias to do the same stuff, however there
are a number of things I have to consider.
Sites must respond to www.domain.com and domain.com (A records point at
the web server)
Reading the docs on mod_vhost_alias its not obvious to me; Whould it be
It also raises the question of how am I gonna handle my log files,
currently I keep a separate log for each site. But I gateher if I use
vhost_alias I may not be able to do that.
Any comments or advice welcomed.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!