Link to home
Start Free TrialLog in
Avatar of halbhavi
halbhavi

asked on

cgi file redirection on NT

I am trying to redirect the server to fetch a page using
"Location: URL" on a NT 4.0 machine. But this doesnt seem to work. Does the "Location: URL" header not work on Windows NT. If not, what are my other options?

I have just one line of code in the server side file.
It is
print "Location: cgi-bin/test.html\n\n";

The browser (navigator) returns complaining "document contains no data"
Avatar of ozo
ozo
Flag of United States of America image

Location: URL


Shouldn't care about your operating system (although it could care about your browser or server, or other lines you may be printing with it)
What exactly are you printing?
Avatar of halbhavi
halbhavi

ASKER

Edited text of question
ASKER CERTIFIED SOLUTION
Avatar of manchung
manchung

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial