httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Bostic" <rbos...@cinci.rr.com>
Subject [users@httpd] help with CGI execution
Date Tue, 18 Nov 2003 19:37:33 GMT
Hi, I'm new to all this. however I need some help configuring IBM HTTP Server(Apache 2.47)
to execute CGI scripts.  I have read the documentation on ver 2.0 of Apache and I still get
the Internal Server Error  - Misconfiguration Error.

I will be very thankful for any help!
I have what I think are the correct statements that are in the httpd.conf file w/ line numbers.
 I used the install program that came with the binary files.  The program placed the server
in:
C:/Program Files/IBM HTTP Server 2.0. and the directory structure is all the default. 

Line
57 ServerRoot "c:/Program Files/IBM HTTP Server 2.0"   (uncommented and Placed by install)

Main Section
232 DocumentRoot "c:/Program Files/IBM HTTP Server 2.0/htdocs/en_US"  (uncommented and Placed
by install)

This is the Directory entry as put in when installed:
244  <Directory />
           Options FollowSymLinks
           AllowOverides None
        </Directory>
Affter reading the documentation I added these:
249  <Directory htdocs>
           Options FollowSymLinks
            Order Allow,Deny
           Allow From All
        </Directory>
255  <Directory />
           Options +ExecCGI
           Allow From All
        </Directory>

The ScriptAlias was put in at the time of install  and I did Nothing to it..
521  ScriptAlias /cgi-bin/ "c:/Program Files/IBM HTTP Server 2.0/cgi-bin"   - this is the
correct absolute address and I have one file here envvars.pl.

The <Directory> directive below is as was put in at install, and I did not alter it
527 <Directory "c:Program Files/IBM HTTP Server 2.0/cgi-bin">
            AllowOverRide None
            Options +ExecCGI
            Order Allow,Deny
            Allow From All
     </Directory>
This last statement is original except I added .pl at the end.
640 AddHandler cgi -script  .cgi  .pl

I thank these are the correct items.  If I have missed something or added something I should
 not have added or failed to add a statement, the please correct me!.
I want to get this server running correctly.

Thank you for your help!

The Lord bless you and keep you.
The Lord make his face shine upon you and be gracious unto you.
The Lord lift up his countenance upon you and
give you peace.
Mime
View raw message