[thelist] Location header question

David Dorward evolt at david.us-lot.org
Tue May 25 13:14:38 CDT 2004

On Tue, 2004-05-25 at 18:55, John.Brooking at sappi.com wrote:
>    I have been having problems with it, which I think I have just solved,
> but I'd still like more information. In my CGI scripts (Perl, but it
> shouldn't really matter, AFAIK), I have been redirecting to an HTML document
> in my docs directory, by simply printing something like "Location:
> /path/thispage.html\n\n".

This is invalid, the http specification requires an absolute URI in the
location header, not a relative reference.

David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>

More information about the thelist mailing list