in reply to url redirection
You output malformed headers.
I suggest outputting what HTTP actually specifies:
print "HTTP/1.0 302 Somewhere else\r\n"; print "Content-Type: text/html\r\n"; print $query->redirect('http://localhost/rbsaws/'), "\r\n"; print "\r\n"; # signal end of headers
Update: Fixed wrong HTTP result code, thanks moritz
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: url redirection
by ikegami (Patriarch) on Dec 04, 2010 at 17:12 UTC | |
by zoodog (Initiate) on Dec 04, 2010 at 17:33 UTC | |
|
Re^2: url redirection
by moritz (Cardinal) on Dec 04, 2010 at 16:36 UTC | |
by zoodog (Initiate) on Dec 04, 2010 at 17:04 UTC | |
by moritz (Cardinal) on Dec 04, 2010 at 18:04 UTC | |
|
Re^2: url redirection
by zoodog (Initiate) on Dec 04, 2010 at 16:39 UTC | |
|
Re^2: url redirection
by zoodog (Initiate) on Dec 04, 2010 at 17:07 UTC |