Jump to content

HTACCESS doesnt like PHP


Kovo

Recommended Posts

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...