Hi there,
I am using a perl script to generate this html page which just
redirects users to my ftp server. The problem is I get a "page cannot
be displayed" in IE 6.0 (haven't tried other browsers) when the
redirection happens. But the redirection happens to the correct ftp
location and on pressing "Refresh" the FTP login dialog bar appears
and everything is fine.
Here is the HTML in question.
<HTML>
<HEAD>
<META http-equiv='REFRESH' content = '3; URL =
ftp://192.168.0.11'>
<TITLE>FTP Data</TITLE>
</HEAD>
<BODY>
<p>You are being redirected to ftp://192.168.0.11 in 3 seconds</p>
</BODY>
</HTML>
and the perl file that generates the html is
#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "<HTML><HEAD>";
print "<META http-equiv='REFRESH' content = '3; URL =
ftp://$ENV{'HTTP_HOST'}'>";
print "<TITLE>FTP Data</TITLE>";
print "</HEAD><BODY>";
print "<p>";
print "You are being redirected to ftp://$ENV{'HTTP_HOST'} in 3
seconds";
print "</p>";
print "</BODY></HTML>"
Can anyone tell me how to deal with this glitch? Thanks in advance.
-Manu