Kovo Posted July 5, 2007 Share Posted July 5, 2007 Heres my htaccess file <Files .htaccess>order allow,denydeny from all</Files>ErrorDocument 404 /notfound.phpErrorDocument 403 /forbid.php if you go to http://www.kevmedia.ca/thisdoesnotexist.htmlthe error pages workif you go to http://www.kevmedia.ca/thisdoesnotexist.phpboth pages dont exist, but only one of them will display the error msg, and only the .html pages will display it. Link to comment Share on other sites More sharing options...
Kovo Posted July 5, 2007 Author Share Posted July 5, 2007 fixed the issue, I had to add the full path to the file for it to work with PHPErrorDocument 404 /kevmedia.ca/notfound.php Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.