Menu

#1780 Apache Settings>Manage Error Pages 0.10.2

closed-wont-fix
5
2008-11-05
2007-07-06
KompresZor
No

Module-Apache Settings 1.2.7
Kernel version 2.6.17.11-grsechg
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

Discussion

  • Shaun Murray

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

    Anonymous - 2008-11-05

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

     
  • Anonymous

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

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

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.