Forums / Setup & design / multiple sites
Jupp Schmitz
Tuesday 03 June 2003 7:35:03 am
I have a few questions on setting up multiple sites:
1. do I have to modify Apaches VirtualHost settings for each site? <VirtualHost xxx.xxx.xxx.xxx> ..... RewriteRule ...... /.. /ezpublish/index.php/site1 ..... </VirtualHost>
<VirtualHost xxx.xxx.xxx.xxx> ..... RewriteRule ...... /.. /ezpublish/index.php/site2 ..... </VirtualHost>
2. Do I have an admin-page for all sites together? If yes, how do control in wich site my content appears?
Thanks for advice!
Karsten Jennissen
Tuesday 03 June 2003 9:35:25 am
1) You don't have to modify Apache settings for each site. Just create aliases for all the domains you want to use to be rewritten to ../index.php
The site access logic is controlled via ez publish .ini files. in /settings/siteaccess/site.ini find the section [SiteAccessSettings] and determine the mapping of domains/uris/ports to your logical sites.
2) If you want different content for your different sites, you should use one admin site for each and of course use separate databases.
Script start
Module start 'content'
Module end 'content'
Script end
Time used to render debug report: 0.0001 secs