Forums / Developer / host url does not work
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
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)
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
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"