Well, it started with a problem with search.cgi but I've just narrowed it down to this:
If I have a script that looks like this:
print "Content-type: text/html\n\n";
print "<html>";
print "<head>";
print "<title>Ye</title>";
print "</head>";
print "<body>";
print "<h1>Ye</h1>";
print "</body>";
print "</html>";
Everything works fine. But if I do this:
print "Content-type: text/html\n\n";
print qq~
<html>
<head>
<title>Ye</title>
</head>
<body>
<h1>Ye</h1>
</body>
</html>
I get automatically bumped to the directory where the script is and I get a "Forbidden" server error.
Help.
GL
lafranc@cam.org
If I have a script that looks like this:
Code:
#!/local/bin/perl print "Content-type: text/html\n\n";
print "<html>";
print "<head>";
print "<title>Ye</title>";
print "</head>";
print "<body>";
print "<h1>Ye</h1>";
print "</body>";
print "</html>";
Everything works fine. But if I do this:
Code:
#!/local/bin/perl print "Content-type: text/html\n\n";
print qq~
<html>
<head>
<title>Ye</title>
</head>
<body>
<h1>Ye</h1>
</body>
</html>
I get automatically bumped to the directory where the script is and I get a "Forbidden" server error.
Help.
GL
lafranc@cam.org