[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cgiapp] Re: Failing redirects


> >
> I have upgraded to CGI.pm 3.25.  Same thing.
> Here's the code in modules/http/http_protocol.c:
> 
>     switch (status) {
>     case HTTP_MOVED_PERMANENTLY:
>     case HTTP_MOVED_TEMPORARILY:
>     case HTTP_TEMPORARY_REDIRECT:
>         return(apr_pstrcat(p,
>                            "<p>The document has moved <a href=\"",
>                            ap_escape_html(r->pool, location),
>                            "\">here</a>.</p>\n",
>                            NULL));
>     case HTTP_SEE_OTHER:
> 
> I've reinstalled 2.0.55 and redirects are working properly.
> Perhaps the above is broken in 2.0.55.  I mucked with it a
> bit and didn't get anywhere (no surprise).  Thanks for all
> suggestions.  I'll take a look at CAP::Redirect.
> 
>
I'm surprised no one else has seen this problem,
but if you do...

I included http_protocol.c from 2.0.55 in the 2.0.59 source
tree, configured and installed as usual.

Can't recommend it, but redirects now work as expected.

--Jon


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.