Menu

#2 redirection with pyhp['Location'] = <URL> doesn't work

open
nobody
None
5
2009-07-10
2009-07-10
No

SAMPLE PAGE CODE:
<?pyhp
pyhp.headers_out['Location'] = 'http://localhost/~henaro/mandor3/main.cgi'
?>

EXPECTED:
browser to be redirected to the page.

OBSERVED:
empty page, no redirection.

ENV:
SuSE 10.3, Python 2.5.1, Apache/2.2.4 (Linux/SUSE)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.