View Full Version : custom errordocuments NOT .shtml
Apver
01-19-2004, 08:23 PM
As a user (with no root access), is there any way to use errordocuments that are not .shtml? for example, php?
I have found ways to still use php headers and footers but was curious as to how to do it, and if possible to do as a user.
l0rdphi1
01-19-2004, 10:46 PM
Create a .htaccess file in your public_html containing the following:
ErrorDocument 500 /error.php
ErrorDocument 404 /error.php
ErrorDocument 401 /error.php
ErrorDocument 403 /error.phpFeel free to add additional ErrorDocument's for other error numbers.
Oh and, make sure the output of error.php is at least 512 bytes or MSIE won't display it.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.