Thank you all for your suggestions. It turned out that the answer is
quite simple. In the PHP script, the only thing to do is to send a
"HTTP 1/1 200 OK" status code. Because this will actually override the
previous 404. This was the simple answer to a question which I thought
seemed to be very complicated.
/frank
2005-09-26 kl. 16.20 skrev Joshua Slive:
On 9/26/05, Eugene <[EMAIL PROTECTED]> wrote:
I think there's a way to do either.
To redirect while sending the 404 status code to the client:
ErrorDocument 404 /path/to/script.php
To redirect while NOT sending the 404 status code to the client:
ErrorDocument 404 http://www.yourserver.com/path/to/script.php
I don't think that is what the OP is looking for. The second example
will, indeed, not send a 404. But it will send a 302 and cause the
browser to re-request at the new location.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]