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

Configuring Apache server to run cgi scripts

Status
Not open for further replies.
Nov 18, 2002
4
US
I'm just setting up my machine to do some local script development, but for some reason I can't get the server to function properly. I'm running apache http server 2.0, and have looked over everything i can think of in the httpd.conf file. The scriptalias is correct, and I have Options ExecCGI set in the directory string for the cgi folder. Anything else i'm missing? When I try to open the script from it gives me an "internal server error" and if I check the log it says "access denied - could not create child process". What do I do next?
 
What OS are you running? If unix/linux, what are the directory permissions set at?

Did you set the AddHandler command in your httpd.conf file? Newposter
"Good judgment comes from experience. Experience comes from bad judgment."
 
I have the addhandler in place, i'm running windows XP. If i try going to just 127.0.0.1/cgi-bin/ i just get a big &quot;FORBIDDEN&quot; message. I even commented out all of the scriptalias and <directory> stuff with respect to the cgi-bin directory, and got to where I atleast could get a listing of the directory, but I couldn't run any programs, even with the addhandler still active. I'm way confused.
 
I have exactly the same problem.
latest Apache HTTP server running under windows XP.
Tried to execute the default &quot;printenv.pl&quot;
(&quot;but the page shown:
&quot;Not Found
The requested URL /cgi-bin/printenv.pl was not found on this server.&quot;

Any luck on your side?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top