| Article: |
Apache Web-Serving with Mac OS X: Part 2 | |
| Subject: | Problem enabling all .cgi or .pl files | |
| Date: | 2002-01-12 08:55:00 | |
| From: | morbus | |
|
Response to: Problem enabling all .cgi or .pl files
|
||
| When you try to run one of a scripts, what do you see in your error log after getting the message? | ||
Showing messages 1 through 2 of 2.
-
Here's what the error_log says:
2002-01-14 15:03:50 johnkoetsier [View]
-
OK, fixed it ...
2002-01-14 15:13:15 johnkoetsier [View]
I added Exec/CGI to the options for:
<Directory "/Library/WebServer/Documents">
I guess it's a bit confusing, since there are a couple of things in httpd.conf that could be seen as overlapping, since I had already allowed CGIs anywhere by uncommenting this:
# AddHandler cgi-script .cgi
(or so I thought).
In any case, I am now up and happily (if insecurely) running. This is only a dev box for playing with, so I'm not too worried.
Thanks again for the article!



[Mon Jan 14 15:01:05 2002] [error] [client 127.0.0.1] Options ExecCGI is off in this directory: /Library/WebServer/Documents/helloWorld.cgi
Which basically tells us what we already knew ... I think.