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 !"

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 16:11:35
Script start
Timing: Jan 18 2025 16:11:35
Module start 'layout'
Timing: Jan 18 2025 16:11:35
Module start 'content'
Timing: Jan 18 2025 16:11:36
Module end 'content'
Timing: Jan 18 2025 16:11:36
Script end

Main resources:

Total runtime0.6918 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.1641152.6563
Module start 'layout' 0.00480.0019 740.820339.5078
Module start 'content' 0.00670.6833 780.3281585.1953
Module end 'content' 0.69000.0018 1,365.523412.1094
Script end 0.6918  1,377.6328 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4821160.0002
Check MTime0.00140.1966160.0001
Mysql Total
Database connection0.00070.104010.0007
Mysqli_queries0.633291.5259590.0107
Looping result0.00100.1453570.0000
Template Total0.663295.920.3316
Template load0.00240.342020.0012
Template processing0.660895.518820.3304
Template load and register function0.00020.031610.0002
states
state_id_array0.00140.197710.0014
state_identifier_array0.00140.205820.0007
Override
Cache load0.00180.2657440.0000
Sytem overhead
Fetch class attribute can translate value0.00070.094630.0002
Fetch class attribute name0.00130.182750.0003
XML
Image XML parsing0.00160.231030.0005
class_abstraction
Instantiating content class attribute0.00000.001450.0000
General
dbfile0.00110.1618220.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs