Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


httpd.conf | 11 comments | Create New Account
Click here to return to the 'httpd.conf' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
httpd.conf
Authored by: Anechoic on Jul 09, '01 01:46:56PM
I did the following, and cgi/Perl scripts word for me in Apache under OS X:
In /etc/httpd/httpd.conf
  1. Uncomment the line "LoadModule cgi_module libexec/httpd/mod_cgi.so"
  2. Uncomment the line "AddModule mod_cgi.c"
  3. Uncomment the line "Options Indexes FollowSymLinks MultiViews ExecCGI"
  4. Uncomment the line "ScriptAlias /cgi-bin/ blah blah" and edit to taste
  5. Uncomment (and edit if desired) the line "<Directory "/Library/WebServer/CGI-Executables">"
Steps 4 and 5 are really the same thing, but step 5 uses Apple's XML configuration, while step 4 uses the standard Apache configuration method. I'm not sure if both are required or if you can get away using only one method. That should be it, HTH Herb

[ Reply to This | # ]