Forums / Setup & design / multi-site and siteaccess
kavi kavi
Friday 12 January 2007 2:14:53 am
I Every body ! Happy NEW YEAR 2007 !!!!!!!!!!!!!!!
I have one installation of ezpublish 3.8.6. I have a menu like this SITE (nodeID=2) | |_SITE1 (nodeID=85) |_SITE2 (nodeID=86)|_SITE2 (nodeID=87)
The different menu are the different siteaccess. When i go to the url http://localhost, I'm in SITE where I see the 3 other site access.And when i go to http://localhost/SITE1 i'm in default folder of SITE1...same for 2 other sites.
One thing that i don't understand is that when i want to go to another site I have this url :http://localhost/SITE/SITE1 while i have to go by the url http://localhost/SITE1.
I don't know if i'm clear in my explaination ?!!
Please help !kavi
Betsy Gamrat
Friday 12 January 2007 10:20:19 am
kavi,
You can create multiple siteaccesses that can use the same database, or a different database.
If you want to use the same data, but a different design, then you can modify override/site.ini.append.php and add a new siteaccess. Then, you can copy the initial siteaccess/site.ini.append.php (renaming as appropriate).
That will allow you to use different designs with the same data.
To use a different database, use siteaccess/site.ini.append.php and add in the new database information.
Good luck,
Betsy
Monday 15 January 2007 12:17:25 am
Hi Betsy !Thanks for your reply. I have done the changes in the override/site.ini.append.php. My question is about the "URL REWRITING" or "URL REDIRECTION", I want to get http://localhost/siteaccess/folder1 and not http://localhost/site/siteaccess/folder1.
HELP !!!!!!!!!Kavi
Friday 19 January 2007 2:06:05 am
Hi ! i've not yet found the solution of my problem. I've one Homepage in my siteaccess "site" which representes 3 other siteaccess site1, site2, site3.in siteaccess/override/site.ini, i've tried this
MatchOrder=uri URIMatchType=map URIMatchMapItems[]=www.site.net/site/site1;www.site.net/site1 URIMatchMapItems[]=www.site.net/site/site2;www.site.net/site2 URIMatchMapItems[]=www.site.net/site/site3;www.site.net/site3 It doesn't work!!!I dont' understand how works the URIMatchType.
If someone can help me ?! ThanksKavi