Forums / Setup & design / Trouble with RemoveSiteAccessIfDefaultAcces in ezp 3.9.1
Pascal France
Friday 27 April 2007 9:16:35 am
Hi,
In order to hide the default siteaccess name I use the RemoveSiteAccessIfDefaultAccess parameter in override/site.ini.append.php:
[SiteAccessSettings] CheckValidity=false AvailableSiteAccessList[]=siteaccess AvailableSiteAccessList[]=siteaccess_admin MatchOrder=uri HostMatchMapItems[] RemoveSiteAccessIfDefaultAccess=enabled
This works fine with a eZp 3.8.6 site but in a 3.9.1 site I get many:
Notice: Undefined property: AccessPath in /home/luxpopul/public_html/lib/ezutils/classes/ezsys.php on line 601
and many:
Warning: PHP Apr 27 2007 18:20:07 Undefined property: AccessPath in /home/luxpopul/public_html/lib/ezutils/classes/ezsys.php on line 601
in de debug output on the public site.
However, the pages are well displayed and there is no more siteaccess name in the URI.
Regards
Pascal
Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish
Björn X
Friday 27 April 2007 10:51:19 am
it is a bug that has been fixed today
Friday 27 April 2007 10:55:22 am
Very good ;-)
Friday 27 April 2007 11:05:12 am
Hi Björn,
Could you explain me where I can download the fixed file ?
Guillaume Kulakowski
Friday 28 December 2007 3:28:05 am
I have an another problem with this option.
My URL is :
http://www.exemple.com/index.php/siteaccess/my_path
With URL rewriting and <i>ForceVirtualHost=true</i>, I have :
http://www.exemple.com/siteaccess/my_path
By adding <i>RemoveSiteAccessIfDefaultAccess=enabled</i> :
http://www.exemple.com//my_path
I haven't my siteaccess in my URL but I have a <b>//</b>...
My blog : http://www.llaumgui.com (not in eZ Publish ;-)) eZC on RHEL : http://blog.famillecollet.com/pages/Config-en eZC on Fedora : just "yum install php-channel-ezc"
Saturday 29 December 2007 10:43:34 am
Hi Guillaume,
I'm very interested by the solution of your problem because I noticed the display of these two // while configuring SSL (see this post: http://ez.no/developer/forum/setup_design/trouble_with_ssl_login_redirection_uri).
Tuesday 19 February 2008 2:33:28 am
apparently, it's a bug :"#012520: Url Translator not working with RemoveSiteAccessIfDefaultAccess enabled" : http://issues.ez.no/IssueView.php?Id=12520&
Francesco Trucchia
Monday 12 May 2008 9:15:59 am
I patch the ezsys class and now url translator works fine.See http://issues.ez.no/IssueView.php?Id=12520&ProjectId=3&Anchor=Comment256664
-- Francesco Trucchia CTO ft@ideato.it Skype: trucchia ideato srl - web ideas for sale http://www.ideato.it