hallo,
can someone help me?
I can't execute script!
I put my cgi script in CGI-Executables folders. I chmod 755 and I used Explorer --> http://127.0.0.1/cgi-bin/perl_test.cgi.
this is what appear:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
So I opened error_log:
[Thu Dec 26 12:15:17 2002] [error] (2)No such file or directory: exec of /Library/WebServer/CGI-Executables/perl_test.cgi failed
[Thu Dec 26 12:15:17 2002] [error] [client 127.0.0.1] Premature end of script headers: /Library/WebServer/CGI-Executables/perl_test.cgi
My script path is ok (/usr/bin/perl) and it works fine on solaris machine.
NOW:
I know that OsX is already configured to run cgi script, so what's happening!
My Mac runs OsX 10.2.3 client. Must I use OsX server for this?
I'm sure you can help me
Thanks in advance
can someone help me?
I can't execute script!
I put my cgi script in CGI-Executables folders. I chmod 755 and I used Explorer --> http://127.0.0.1/cgi-bin/perl_test.cgi.
this is what appear:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
So I opened error_log:
[Thu Dec 26 12:15:17 2002] [error] (2)No such file or directory: exec of /Library/WebServer/CGI-Executables/perl_test.cgi failed
[Thu Dec 26 12:15:17 2002] [error] [client 127.0.0.1] Premature end of script headers: /Library/WebServer/CGI-Executables/perl_test.cgi
My script path is ok (/usr/bin/perl) and it works fine on solaris machine.
NOW:
I know that OsX is already configured to run cgi script, so what's happening!
My Mac runs OsX 10.2.3 client. Must I use OsX server for this?
I'm sure you can help me
Thanks in advance