anu_1 has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to open a new browser.
#!/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 help
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Exec format error
by Utilitarian (Vicar) on Dec 03, 2010 at 08:59 UTC | |
by Anonymous Monk on Dec 03, 2010 at 10:09 UTC | |
by ikegami (Patriarch) on Dec 03, 2010 at 16:35 UTC | |
by anu_1 (Acolyte) on Dec 03, 2010 at 10:19 UTC | |
by marto (Cardinal) on Dec 03, 2010 at 10:35 UTC | |
by Anonymous Monk on Dec 03, 2010 at 10:46 UTC | |
by anu_1 (Acolyte) on Dec 03, 2010 at 11:13 UTC | |
by Anonymous Monk on Dec 03, 2010 at 13:10 UTC | |
by anu_1 (Acolyte) on Dec 06, 2010 at 04:47 UTC | |
Re: Exec format error
by marto (Cardinal) on Dec 03, 2010 at 09:42 UTC | |
Re: Exec format error
by Anonymous Monk on Dec 03, 2010 at 08:40 UTC | |
by Anonymous Monk on Dec 03, 2010 at 18:05 UTC | |
Re: Exec format error
by roc (Sexton) on Dec 03, 2010 at 11:50 UTC |
Back to
Seekers of Perl Wisdom