This page:
Code:
<html>
<head>
<title>Hit Me</title>
</head>
<body>
<h2>Test Page</h2>
<ol>
<li><!--#include virtual="something.html"-->
<li><!--#include virtual="../cgi-bin/Hello.pl"-->
<li><!--#exec cmd="../cgi-bin/Hello.pl" -->
<li><!--#include virtual="something_else.html"-->
</ol>
<p> end testing
</body>
</html>
This cgi:
Code:
#!/usr/bin/perl -wT
print "<H2>Hello</h2>";
This result:
Code:
Test Page
1. something
2. [an error occurred while processing this directive]
3. Hello
4. something else
end testing
Why does the script fail on item 2 but succed on item 3?
Thanks