#1780 Apache Settings>Manage Error Pages 0.10.2


Module-Apache Settings 1.2.7
Kernel version
Apache version 1.3.37 (Unix)
PHP version 4.4.4
MySQL version 4.1.22-standard
phpwebsite 0.10.2

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.

It writes.
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


  • Shaun Murray

    Shaun Murray - 2007-08-27
    • labels: --> Code/Logic
    • assigned_to: nobody --> singletrack
  • Anonymous - 2008-11-05

    Sorry but we are no longer supporting versions of phpWebSite prior to 1.x.

  • Anonymous - 2008-11-05
    • status: open --> open-wont-fix
  • Anonymous - 2008-11-05
    • status: open-wont-fix --> closed-wont-fix

Log in to post a comment.