You are not logged in.

#1 2006-01-17 20:21:10

bolero
Member
Registered: 2003-10-05
Posts: 60

Configuring Apache CGI

Hey guys, i recently installed the apache web server , and now im trying to get CGI to work.  When ever i try to run ANY cgi script from the webbrowser it says Error 500 internal server error.
The Apache error_log says Premature end of script headers.
Is there a certain way i have to configure apache to get this to work?
Im trying to get each users html directory (public_html) to have a cgi-bin and only cgi scripts can work in that, how ever i cant get them to work anywhere!  Any help would be great!

-Bolero

Offline

#2 2006-07-01 00:10:35

Bjørn
Member
From: The Netherlands
Registered: 2004-03-18
Posts: 139
Website

Re: Configuring Apache CGI

Hmm, I'm also stuck on this error. I just searched the wiki about any help on getting scripts in the cgi-bin to work, but found nothing. Am I missing something? I guess this should be really simple.

Edit:
Never mind, I forgot to make my cgi script executable (noticed this in /var/log/httpd/error_log).


http://themanaworld.org/
A Free Real-time Massively Multiplayer Online RPG in development.

Offline

Board footer

Powered by FluxBB