Link to home
Start Free TrialLog in
Avatar of John-Bayles
John-Bayles

asked on

CPANEL and PERL / CGI

i have to web hosting accounts and neither will let me use perl or cgi scripts!

everytime i attempt to run a script i get on both accounts:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@extreme-templates.net 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.


------------------------------------------------------------------------------
ASKER CERTIFIED SOLUTION
Avatar of Sam Panwar
Sam Panwar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Go to

cpanel> web log > 

see the log and tell the what log say
Avatar of nltech
nltech

are you putting the scripts in your cgi-bin?  do they have proper permissions (go into file manager and check. should be 755).

do the cgi-scripts that come bundled with your cpanel work?  cgiemail is a common one that's included. try going to http://www.yourdomain.com/cgi-bin/cgiecho if it redirects to http://web.mit.edu/wwwdev/cgiemail/nopath.html (which is what happens when you don't supply any parameters when calling it), then things are functioning fine, it's a problem with the script you're trying to run.

if cgiecho is present, but doesn't run, then you need to contact your provider to straighten things out.

if cgiecho does function, and you're putting your scripts in your cgi-bin with 755 permissions, then you need to check them out.. path to perl (viewable from your cpanel home), syntax, etc.
Avatar of John-Bayles

ASKER

yes the files are in my cgi-bin and the permissions are set correctly