SSI not producing output, not giving error either.
Posted
by bstullkid
on Stack Overflow
See other posts from Stack Overflow
or by bstullkid
Published on 2010-06-01T19:05:23Z
Indexed on
2010/06/01
22:03 UTC
Read the original article
Hit count: 268
in the html file:
<!--#exec cgi="/cgi-bin/test.pl"-->
the perl script:
#!/usr/bin/perl
print "Content-Type: text/html\n\n";
print "<input type=\"hidden\" name=\"aname\" value=\"avalue\">\n";
print "<img src=\"/cgi-bin/script.pl\" />";
This does not give me an 'error processing directive' error, nor does it output my HTML inplace of the tag. I'll also add that the ssi tag gets replaced with nothing.
© Stack Overflow or respective owner