Menu

#3 error.php hack doesn't rewrite response header

open
nobody
None
9
2006-08-16
2006-08-16
No

The error.php hack, to simulate mod_rewrite, doesn't
change the HTTP response to 200 OK. The upshot of it
all, is that every rewritten URI will return a 404, and
so the entire site is unindexable to search engines.

Diff attached to fix the problem.

Discussion

  • Lewis Collard

    Lewis Collard - 2006-08-16
    • priority: 5 --> 9
     
  • Lewis Collard

    Lewis Collard - 2006-08-17

    Logged In: YES
    user_id=1577423

    previous error.php diff was broken, was untested

     
  • Lewis Collard

    Lewis Collard - 2006-08-17

    revised error.php diff, previous one was broken

     

Log in to post a comment.