Module-Apache Settings 1.2.7
Kernel version 184.108.40.206-grsechg
Apache version 1.3.37 (Unix)
PHP version 4.4.4
MySQL version 4.1.22-standard
I thought it was about time I got rid of my 404(etc).shtml pages and try the module in phpws for managing error pages. I set up a very simple 404 error page just to test it and discovered that instead of getting 404 errors from the server it was sending 200/302's
I found that the module incorrectly writes the redirect in the .htaccess file.
ErrorDocument 404 http://www.mysite.com/index.php?module=security&page=404
But, this wont work because the path for error pages must be relative to the root or Apache won't respond with a 404 error code properly.
It should write
ErrorDocument 404 /index.php?module=security&page=404
Log in to post a comment.