SiteAccessSettings and ForceVirtualHost Configuration

SiteAccessSettings and ForceVirtualHost Configuration

Friday 27 May 2005 1:46:29 am - 1 reply

Modified on Friday 27 May 2005 2:02:42 am by kracker (the)

Author Message

Gene Snider

Friday 27 May 2005 7:37:09 am

Kracker,

Thanks for the tip, I will check this out today. I also agree that host configuration is the only way to have professional looking URLs such as www.foo.com and admin.foo.com. I actually never got a chance to look back since when I started with ezpublish that was the only way to configure sites.

The site wizard on 3.5.2 does not seem to set this up properly I was going to investigate this and whine about it today. You may have saved me a great deal of time and trouble. Although if your fix works I'll still whine...

The need for an index.php designation can also be eliminated ( at least with Apache on Linux ) by tuning the Apache configuration. Add this line to the php.conf in http/conf.d/php.conf ( or add index.php to the DirectorIndex value base httpd.conf file for older versions ).

DirectoryIndex index.php

This will cause apache to load index.php if it exists. Note that if you have multiple entries for DirectoryIndex it will look for them in order so if you directory is cluttered with manually created index files they might be selected first.

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.