httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: Problem in URL redirect
Date Tue, 30 Dec 2003 07:06:24 GMT
* "Swapan Gupta" <swapan_gupta@infosys.com> wrote:

> I am trying to use the function apr_table_setn for redirecting to a URL.
> 
> The following is the function call that I am using.
> 
> apr_table_setn( m_pReqRec->headers_out, (const char *)"Location",
> apr_pstrdup(m_pReqRec->pool, URL ));
> 
> 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?

nd

Mime
View raw message