Forums / Install & configuration / Problems with changing configuration to multisite.

Problems with changing configuration to multisite.

Author Message

Pawe³ Mylka

Friday 14 July 2006 3:07:47 am

A have changed configuration of our web-serwer to multi site,
after few month working with uri configuration. Under changing I had some problem, but succesfully i have resolved them.

But I have one more problem:
ezpublish version 3.7

in override... site.ini. i have something like that ....

HostMatchMapItems[]=www.aaaaaaa.pl;plain
HostMatchMapItems[]=www.xxx.eu;phup
HostMatchMapItems[]=www.xxx.pl;phup
HostMatchMapItems[]=admin.xxx.pl;phup_admin

and when I try login to

http://admin.xxx.pl i get login page, and after that system login to main page. To this point is ok, but all links have symatic from uri. It's mean

http://admin.xxx.pl/index.php/<b>phup_admin</b>/content/view/full/2

What can I do to change all those semantic to host schema ??

regards
Pawe³ Mylka

Egil Fujikawa Nes

Wednesday 19 July 2006 9:25:48 pm

Hi

I have been writing a short article for how to change from URI to HOST based siteaccess mapping. If you follow this article your links should be generated correct.

http://www.buildcms.com/tech_corner/howto/change_from_a_uri_to_host_based_siteaccess

If you have problems with login to your public siteaccess you should enter the admin interface, then User accounts -> Roles and policies -> Anonymous -> Edit. Then edit the Module: User and Function: Login. Here you should choose all the siteaccesses that public users should have access to.

Hope this could help you with your problems.

Best regards
Egil Fujikawa Nes

BuildCMS - Av. Paulista 777, 15° Andar - CEP: 01311-100 - São Paulo
URL: http://www.buildcms.com

Xavier Langlois

Thursday 20 July 2006 1:02:05 am

Hello
Maybe that could help you :
In settings/siteaccess/(yoursiteacces)/site.ini...

[SiteAccessSettings]
## this was suggested here:
## http://ez.no/download/ez_publish/changelogs/ez_publish_3_4/path_prefix
## but didn't worked for me
#PathPrefix=yoursiteaccessname
## And I found this
## http://ez.no/community/bugs/pathprefix_doesn_t_work_with_user_folder
PathPrefixExclude[]=yoursiteaccessname
## nothing else

Now it's working perfectly ...
Bye
Xavier Langlois

--
There were these two cows, chatting over the fence between their fields.
The first cow said, "I tell you, this mad-cow-disease is really pretty scary. Don't you think ?"
The other cow replies, "Hell, I ain't worried, I'm a duck !"