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!

500 Error Message

Status
Not open for further replies.

vcherubini

Programmer
May 29, 2000
527
US
I am sure that a post similar to this has been posted before, but I can't find one.

Here is my problem. I have Apache successfully installed on my computer, works fine and everything. I am a Perl programmer, and have written many CGI scripts that I would like to be able to use locally. I have saved these scripts into the cgi-bin directory under the C:/Program Files/Apache Group/Apache/cgi-bin/ directory. Then, I go into my web browser and type the IP of my machine followed by /cgi-bin/nameofscript.cgi. When I run the script, I get the following problem:

[tt]
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, you@your.address 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.
[/tt]

How do I fix this? I think that everything within my HTTPD.conf file is correct, but I am not sure. Any help on how to fix this error will be of great help. Thanks a lot.

-Vic
 
Does anyone know how to fix this. I can't find how to anywhere.

Thanks in advance.

-Vic
 
Vic,
it is difficult to understand it from here. I have installed perl on a window machine ....

Usually when I find such problems it is due to:

a) perl location in the first line is not correct
b) if you are opening files, your server root is not complete. on windows you would better put a c:\\path\\to\\document

I hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top