Hello,
I experience some problems with Apache 1.3.29 and error redirections.
I have a .htaccess with one rule : ErrorDocument 404 /err.php
If somebody goes to /this-page-doesnt-exist, he goes in err.php and I
can give some content. The problem is that Apache send a 404 code (in
first line), and ie 6 doesn't really like it, it seems to depend of the
time between the 404 answer and the html data, but it sometimes shows a
404 error. Many sites use this code (w3c validator for example). In the
web browser url, /this-page-doesnt-exist appears.
If the .htaccess contains ErrorDocument 404
http://mysite/err.php , it
works fine, a HTTP/1.1 200 OK is sent, and everything goes well, *but*,
the web browser then shows
http://mysite/err.php as the url for the page.
How can I avoid getting a 404 code, and having the full url diplayed at
the same time ? I tried to send a header("HTTP/1.1 200 OK") with php,
but it doesn't change a bit.
Thank you for your help.