richill has asked for the wisdom of the Perl Monks concerning the following question:
[Sun Mar 12 21:19:27 2006] [error] [client 127.0.0.1] File does not ex +ist: /Library/WebServer/Documents/favicon.ico [Sun Mar 12 21:19:27 2006] [error] (8)Exec format error: exec of /Libr +ary/WebServer/CGI-Executables/first.pl failed [Sun Mar 12 21:19:27 2006] [error] [client 127.0.0.1] Premature end of + script headers: /Library/WebServer/CGI-Executables/first.pl
what do they mean
My shebang line is correct
[lupercal:/library/webserver/cgi-executables] richill% whereis perl /usr/bin/perl
My code is saved as a unix file
#!/usr/bin/perl print "Content-type: text/html\r\n\r\n"; print "Hello, World.";
I can send httpd.config file if it will help
20060313 Janitored by Corion: Added formatting
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How can i run perl on osx
by graff (Chancellor) on Mar 12, 2006 at 23:48 UTC | |
|
Re: How can i run perl on osx
by jhourcle (Prior) on Mar 13, 2006 at 20:41 UTC | |
by richill (Monk) on Mar 16, 2006 at 21:35 UTC |