#!/usr/bin/perl print "Content-type: text/html\n\n"; print "<INPUT type=\"button\" value=\"New Window\" onClick=\"window.op +en('test.html')\">";
test.html is in the same directory as the perl script. when the button is clicked. I get internal server error with following msg in the log
Fri Dec 3 09:04:19 2010 error (8)Exec format error: exec of /mydir/tools/cgi-bin/test.html failed.
Fri Dec 3 09:04:19 2010 error client 17.70.54.765 Premature end of script headers: /mydir/tools/cgi-bin/test.html
Thanks for your helpIn reply to Exec format error by anu_1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |