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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I install that Perl Script?

Status
Not open for further replies.

Bigzed

Programmer
Feb 13, 2005
1
US
Hi you Guys,
Unfortunately I have no Perl knowledge but I need it to manage something.

So I downloaded this example version of a signup script:

I put in the config.pl my data, I uploaded the whole folder in the cgi-bin folder on a account wich is on the same server as the system that I try to control with the hash code.
Than I gave every file 777 rights because I thought that might not be bad ^^.

Ok but when I try to open the signup.cgi there's this error message:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@xxxxxxxxx.xx 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.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

--------------------------------------------------------------------------------

Apache/1.3.33 Server at Port xx

What did I do wrong?

Thank you,
Bigzed.
 
make sure the first line of the script is the correct path to perl for the server, generally

#!usr/bin/perl

but it could be different for your server. Make sure you upload perl scripts in ASCII (text) mode, not binary mode, which is for pictures and other binary files.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top