httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitri" <>
Subject Re: [users@httpd] redirect hiding
Date Mon, 18 Nov 2002 06:09:22 GMT
Sorry, my bad.
Turns out the problem was, scripts didn't automatically output "Status: 302
Found" header, like I expected after reading PHP mannual. Adding this header
explicitly to scripts' output fixed the problem.


----- Original Message -----
From: "Dmitri" <>
To: <>
Sent: Monday, November 18, 2002 12:52 AM
Subject: [users@httpd] redirect hiding

> Hi,
> I have a question concerning redirects with apache.
> I have some (cgi or php) script that redirects (302) to itself or some
> file, in the same directory.
> I want the new URL (after redirection) to show up in browser as such.
> But what happens is apache seems to handle the redirect internally and
> instead of 302 the browser receives a 200 with the destination file
> and no mention of the new URL.
> How do I disable this behaviour with apache? I imagine the answer is very
> simple, sorry I couldn't find anyting.
> I am using 1.3.27 on redhat 7.2.
> Also, on Win32, the situation is different - the server does issue the 302
> code and the browser behaves as expected.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message