Apache Web-Serving with Mac OS X: Part 2
Subject:   Adding another directory. . . ?
Date:   2001-12-27 12:17:35
From:   morbus
Response to: Adding another directory. . . ?

You're missing a key ingredient: "ScriptAlias", which tells Apache what files under what directories should be executed as CGI files.

ScriptAlias is crucial to use when you're not going to use the AddHandler directives. I'd modify your above <Directory> to:

ScriptAlias /cgi-bin/ "/Users/kniles/Sites/cgi-bin"
<Directory "/Users/kniles/Sites/cgi-bin">
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all

1 to 1 of 1
  1. Adding another directory. . . ?
    2002-01-25 12:07:12  haymaker [View]

1 to 1 of 1