Re: HTTP Redirects

2008-09-18 Thread Nigel Peck
Rob Dixon wrote: Hmm. Well it would have helped if you had said that your script was running under mod_perl rather than perl. It's not running under mod_perl. Cheers, Nigel -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: HTTP Redirects

2008-09-16 Thread Rob Dixon
Nigel Peck wrote: > Mr. Shawn H. Corey wrote: >> # Get the computer to tell you what's happening >> ... > > Rob Dixon wrote: >> The only way to fully understand what CGI does is to read its code. Perl >> modules >> ... > > Thanks both for your responses. It turns out I need to send the full URL

Re: HTTP Redirects

2008-09-16 Thread Nigel Peck
Mr. Shawn H. Corey wrote: # Get the computer to tell you what's happening ... Rob Dixon wrote: The only way to fully understand what CGI does is to read its code. Perl modules ... Thanks both for your responses. It turns out I need to send the full URL whereas I was sending a relative URL w

Re: HTTP Redirects

2008-09-16 Thread Mr. Shawn H. Corey
On Tue, 2008-09-16 at 18:37 +0100, Nigel Peck wrote: > Hi all, > > I'm missing something here with regards http redirects. > > I'm trying to have my script redirect to itself through the browser so that > the URL changes in the browser. > > When I send the headers myself: > > print 'Loca

Re: HTTP Redirects

2008-09-16 Thread Rob Dixon
Nigel Peck wrote: > > I'm missing something here with regards http redirects. > > I'm trying to have my script redirect to itself through the browser so that > the URL changes in the browser. > > When I send the headers myself: > > print 'Location: ' . $_[0] . "\n"; > print 'Connec