perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@covalent.net>
Subject RE: Wierd problem with redirect
Date Thu, 01 Jun 2000 19:44:37 GMT
On Wed, 31 May 2000, Jeffrey W. Baker wrote:

> On Tue, 30 May 2000, Jerrad Pierce wrote:
> 
> > I'm running into an odd redirect ptoblem myself, I'm issuing:
> > 
> > HTTP/1.1 302 Moved Temporarily\n\r
> > Date: Tue 30 May 2000 18:18:07 GMT\n\r
> > Server: Apache/1.311\n\r
> > Set-Cookie: SESSION_ID=4177a0c9ae2b278decd6038901b28a2a; path=/;
> > expires=Thu, 1-Jan-70 00:20:00 GMT;\n\r
> > Location: /\n\r
> 
> If you don't follow the HTTP specification, you can't expect the browser
> to do the right thing.  "/" is not a valid URI for a Location.  According
> to RFC 2616, the Location must be an absolute URI:

but it is valid in apache, for mod_cgi scripts and mod_perl scripts that
have PerlSendHeader On.  apache will do an internal redirect if the url is
not absolute.


Mime
View raw message