httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Swapan Gupta" <>
Subject RE: Problem in URL redirect
Date Tue, 30 Dec 2003 12:25:42 GMT
The problem is resolved. The response status was not set properly.

-----Original Message-----
From: André Malo [] 
Sent: Tuesday, December 30, 2003 5:03 PM
Subject: Re: Problem in URL redirect

* Eduardo Franco <> wrote:

> amit athavale wrote:
> >>>But somehow I am not properly getting redirected. What I am getting is
> >a>>blank page instead of the page I am trying to redirect to.
> >>>
> >>>Any ideas why this could be happening? Do I need to do a configuration
> >>>setting for this redirect to function properly or is there something
> >>>wrong with the way I am trying to redirect.
> >>Sounds like you didn't set the proper status code?
> > To be more precise, you need to set reponse status to "301 Moved
> > Permanently" or HTTP_MOVED_PERMANENTLY.
> Why not just: "302 Redirect"!?

"302 Found". And it has quite different semantics. The OP needs to decide
what he wants anyway.


View raw message