Forums / Install & configuration / Site Access Setup Question

Site Access Setup Question

Author Message

elliot smelliot

Thursday 10 April 2003 11:24:13 am

I'm a trifle confused as to what to configure under the "Host" setup under "Site access configuration". I'm running the server in a situation where the eZ website doesn't run as the default domain (i.e. www.domain.com/MYWEB). In the Host configuration:

[SiteAccessSettings]
MatchOrder=host
HostMatchRegexp=^(.+)\.mybookstore\.com$
HostMatchSubtextPost=\.mybookstore\.com

Do I need to type anything additional? Also, can I choose which setup I want to use: Host, URI, Port? Another question: Do I need to do this step at all if I am only running one web but perhaps might want to have more webs in the future?

John Hoskins

Thursday 10 April 2003 12:27:17 pm

I would suggest that you use port. That way you can put the demo site on one port, the demo admin site on another port, and your site on port 80.

What you have should shove everything through the one site you have set. Unfortunately, even though you can add more methods in the MatchOrder setting (port, index and uri are the others), it takes the first match and goes forward.

Scot Wilcoxon

Thursday 10 April 2003 1:04:55 pm

I've been tinkering with that www.example.com/MYWEB configuration. If "index.php" shows in your URLs within the site, you'll be OK. ez3 looks for "index.php" to find what to call the ez3 directory.

Hiding "index.php" can't yet be done with a non-root page.