host url does not work

Author Message

Jacks JNK

Thursday 20 November 2008 1:52:35 am

I set the file settings / override / site.ini.append.php as follows:

[SiteAccessSettings]
CheckValidity=false
AvailableSiteAccessList[]=fre
AvailableSiteAccessList[]=site_admin
MatchOrder=uri
HostMatchMapItems[]
ForceVirtualHost=true

I emptied the cache, but without success, while the mode is activated Rewrite the host side.
Thanks for all.

Skype : jacks_ngala

André R.

Thursday 20 November 2008 5:42:36 am

Virtual host setup example:
http://ez.no/doc/ez_publish/technical_manual/4_0/installation/virtual_host_setup/virtual_host_example

So you need to at least set MatchOrder=host and specify your HostMatchMapItems array.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Jacks JNK

Tuesday 25 November 2008 12:05:10 am

I set my file.conf in "appache2" and it works normally. but I have another problem:
After setting up my file settings / override / site.ini.append.php,

[SiteAccessSettings]
CheckValidity=false
ForceVirtualHost=true
AvailableSiteAccessList[]=fre
AvailableSiteAccessList[]=site_admin
MatchOrder=uri

HostMatchMapItems[]=monsite.com;fre
HostMatchMapItems[]=monsite.com/site_admin;site_admin


Even if I change the last two lines to

HostMatchMapItems[]=www.monsite.com;fre
HostMatchMapItems[]=www.monsite.com/site_admin;site_admin

all my links have changed when flying above (example: before http://www.monsite.com/index.php/fre/lien/ after http://www.monsite.com/fre/lien/) but the height is that when you click the link to follow it marks the path is not found.

In addition when I http://www.monsite.com/site_admin it gives me the same message (path not found)

Skype : jacks_ngala

Arnaud Lafon

Tuesday 25 November 2008 1:09:26 am

Hi Jacks,

as André said, if you want to use the hostname to access different siteaccess you have to turn MatchOrder=uri to MatchOrder=host (or MatchOrder=host;uri If needed).

Arnaud

Looking for information about SQLI ?
Looking for a new job in Paris ?
Please contact me at alafon [at] sqli [dot] com

Jacks JNK

Tuesday 25 November 2008 1:28:25 am

When I change it to "host" I quite of http://www.monsite.com/fre/lien to http://www.monsite.com/lien but when I click the link to follow, I have this message " URL was not found on this server"

Skype : jacks_ngala

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:12:54
Script start
Timing: Jan 18 2025 16:12:54
Module start 'layout'
Timing: Jan 18 2025 16:12:54
Module start 'content'
Timing: Jan 18 2025 16:12:55
Module end 'content'
Timing: Jan 18 2025 16:12:55
Script end

Main resources:

Total runtime0.7923 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 589.0391152.6250
Module start 'layout' 0.00470.0023 741.664139.4297
Module start 'content' 0.00700.7840 781.0938610.8750
Module end 'content' 0.79100.0014 1,391.968816.1875
Script end 0.7923  1,408.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4155160.0002
Check MTime0.00140.1755160.0001
Mysql Total
Database connection0.00060.080310.0006
Mysqli_queries0.736592.9570650.0113
Looping result0.00070.0836630.0000
Template Total0.768597.020.3842
Template load0.00210.269120.0011
Template processing0.766396.714320.3832
Template load and register function0.00010.012210.0001
states
state_id_array0.00070.094610.0007
state_identifier_array0.00060.075320.0003
Override
Cache load0.00190.2346310.0001
Sytem overhead
Fetch class attribute can translate value0.00100.131230.0003
Fetch class attribute name0.00170.216580.0002
XML
Image XML parsing0.00150.187830.0005
class_abstraction
Instantiating content class attribute0.00000.0022100.0000
General
dbfile0.00100.1245300.0000
String conversion0.00000.000940.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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs