Forums / Install & configuration / site.ini settings

site.ini settings

Author Message

David Cross

Sunday 13 April 2003 10:52:32 am

What should a site.ini look like for EZ Publish to serve up public content, without any logins, for www.mysite.com/ (and all URIs below the root)?

Admin should be at www.mysite.com/admin/

Non-valid URIs www.mysite.com/wronglink/ should throw 404s

Thank you

Jan Borsodi

Monday 14 April 2003 7:35:02 am

For public content you should use the settings/siteaccess/demo/site.ini.append file as basis, copy it to your own siteaccess and edit the file, eg. settings/siteaccess/mysite/site.ini.append.
Then set:
DefaultAccess=mysite

For uri based siteaccess matching (ie /admin for admin), use:
MatchOrder=uri

For errors set:
ErrorHandler=displayerror
The system will then use the templates in design/standard/templates/error/kernel/ for errors.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq