Women in Technology

Hear us Roar

  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?
Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Here's what the error_log says:
    2002-01-14 15:03:50  johnkoetsier [View]


    [Mon Jan 14 15:01:05 2002] [error] [client] Options ExecCGI is off in this directory: /Library/WebServer/Documents/helloWorld.cgi

    Which basically tells us what we already knew ... I think.
    • 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!