Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Perl pages not working from cgi-bin

Status
Not open for further replies.

dreampolice

Technical User
Dec 20, 2006
85
US
We just got a new Solaris server with Solaris 10 and now all my Perl CGI pages that were on the old Solaris server with Solaris 7 dont work in the new Solaris 10 server cgi-bin.

I get a generic error saying "Internal error".

Please advise any suggestions I can suggest to Server Admins to make it work like it did before the new Server.
 
Check your path to perl that is at the top of each script (most likely). #!/usr/bin/perl or #!/usr/local/bin/perl are very common but some place have bigger paths like #!/usr/bin/perl/5.8/perl or even longer.. do a whereis perl or a which perl to find it.

Check and make sure the httpd.conf is set up to allow your script types.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[noevil]
Travis - Those who say it cannot be done are usually interrupted by someone else doing it; Give the wrong symptoms, get the wrong solutions;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top