Code Comments
Programming Forum and web based access to our favorite programming groups.I have hunted around via Google etc and cannot find a solution to this......... The minimum shebang that will allow any of my scripts to run is: - #!/usr/bin/perl - If I have: - #!/usr/bin/perl Output error is: - The server encountered an internal error and was unable to complete your request. Error message: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script. I can also run with: - #!/usr/bin/perl -wT or indeed #!/usr/bin/perl -T The system is (from a cgi script!!): - Apache/2.0.40 (Red Hat Linux) mod_perl/1.99_07-dev Perl/v5.8.0 mod_auth_pgsql/0.9.12 PHP/4.2.2 mod_python/3.0.1 Python/2.2.2 mod_ssl/2.0.40 OpenSSL/0.9.7a DAV/2 My apache error log doesn't help any further than the browser output, and by perl -c checking the syntaxes everything checks ok, so why do I need that vital "-" at the shebang? Anyone had similar experience and solved this please?? Regards Alan Powell
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.