As we saw in the first chapter, eZ publish can work using host or URI-based access.
Using the wizard, we selected the URI access method. This can be changed, if necessary, in the global override for the site.ini
configuration file: /settings/override/site.ini.append.php
. The behavior of the siteaccess system is controlled by the MatchOrder
setting within the [SiteAccessSettings] block.
This is the default setting for the MatchOrder
directive, and is set by the setup wizard. When this access method is used, the name of the siteaccess that we want to use has to be the first parameter that appears after the index.php
part of the requested URL.
For example, the following URL will tell eZ publish to use the panel
siteaccess: http://packmediaproject/index.php/panel
. If we want to use the ita
siteaccess, then the URL that we have to call will be http://packmediaproject/index.php/ita
. If nothing is used in the last part of the URL, then...