Tuesday 12 August 2008 9:14:50 am
What we do is redirect the apache "Access Denied" page to our own internal page with a maintenance page and then block access to all but our own ip. These are the relevant lines in our virtual host file:
# --construction, uncomment this:
# ErrorDocument 403 http://ezpublish/construction/index.html
<Directory /var/www/ezpublish>
Options FollowSymLinks -Indexes ExecCGI
AllowOverride None
# --construction, uncomment this:
# Order deny,allow
# Deny from all
# Allow from 10.0.0.1
# --live, uncomment this:
Order allow,deny
Allow from all </Directory>
Certified eZPublish developer
http://ez.no/certification/verify/396111
Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com
|