I need to set one web space, with 4 domains pointing to same web space, as
in:

mysite.tld, minesite.tld, my_site.tld mine_site.tld.

what's the best way to set that ?

I'm thinking of duplicating <virtual host> stuff, just keeping DocRoot same,
is that an OK way ?

hmmm, that will give me multiple cronlogs to same log... that can't be a
good idea..?


<VirtualHost 111.222.333.444:80>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/mysite.tld/www
ServerName www.mysite.tld
CustomLog "|/usr/sbin/cronolog /home/mysite.tld/logs/%Y-%m-%d-access.log"
combined
....
</VirtualHost>

followed by, for each additional tld, another virtual

<VirtualHost 111.222.333.444:80>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /home/mysite.tld/www
ServerName www.my_site.tld
CustomLog "|/usr/sbin/cronolog /home/mysite.tld/logs/%Y-%m-%d-access.log"
combined
....
</VirtualHost>

what's the best way to do that ?

-- 
Voytek
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to