Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

MatchOrder

Summary

Sets the matching algorithms that will be tried to determine which siteaccess to use.

Usage

 

MatchOrder= match_type1[; match_type2]...

Description

You can specify several matching types separated by a semicolon. eZ Publish will try each matching type, in the order specified, until a match is found.

The possible algorithms are:

  • host - Fetch the siteaccess from the hostname. E.g admin.mydomain.com for the admin site and www.mydomain.com for the user site. Use the settings starting with HostMatch to configure host matching.
  • uri - Fetch the siteaccess from the requested path. E.g mydomain.com/index.php/ siteaccess_name/. If you ommit the siteaccess in the URL the default siteaccess will be used. Use the settings starting with UriMatch to configure URI matching.
  • port - Select the siteaccess based on the port used to access the site. E.g mydomain.com for the user site, and mydomain.com:99 for the administration interface. Use the [PortAccessSettings] group to configure port matching.
  • servervar - Fetches the siteaccess to use from a server variable found in the PHP $_SERVER global. Use the ServerVariableName setting to choose the server variable that contains the siteaccess to use.

The most common access methods are described in detail in the access methods chapter.

Frederik Holljen (04/03/2005 1:03 pm)

Frederik Holljen (04/03/2005 1:47 pm)


Comments

There are no comments.