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

Error 500

Status
Not open for further replies.
Apr 16, 2003
117
US
I have redhat 9 running apache 2
I can run cgi and pl files from the command from of the machine. however I get error 500 when i try to access them from the browser.
any help would be greatly appreciated.
thanks.
 
I uncommented that line and already had the Scriptalias line.
However, I am still getting the 500 error
 
Then output some headers. At least "Content-type: text/html" or whatever is appropriate. Followed, of course, by a blank line.

You might even try outputting a blank line at the beginning of your script.

Want the best answers? Ask the best questions: TANSTAAFL!!
 
here is my hello world

#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "Hello, World.";

still the 500
 
Hi, Im in your same boat, it looks to me as an apache or perl bug, maybe getting a new version of apache can help.
Good luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top