Page is a not externally linkable
enchant - 10:12 pm on Dec 1, 2003 (gmt 0)
#!/usr/bin/perl ...and put it in this html file: <html> And the page will properly display "Hello, World". ... I get the dreaded "[an error occurred while processing this directive]" Are arguments forbidden for some reason? It's a Linux Apache server. [edited by: sugarkane at 11:35 pm (utc) on Dec. 1, 2003]
I've got embedded cgi scripts working. That is, I can take this cgi script called /cgi-bin/helloworld.pl:
print "Content-Type: text/html; charset=ISO-8859-1\n\n";
print "Hello, world";
<head></head>
<body>
<!--#exec cgi="/cgi-bin/helloworld.pl" -->
</body>
</html>
However, if I add an argument to the script call:
<body>
<!--#exec cgi="/cgi-bin/helloworld.pl?myarg=5" -->
</body>
...
Thanks for any help.