Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X, Part 4
Subject:   Problem setting up the User CGI bins
Date:   2002-05-29 15:59:09
From:   brassapple
I must join with everyone and thank-you for this series. It's a much needed hole you have filled in the Mac World here.


On to my problem...


I am trying to set up the User-Based Configurations and I guess I'm missing something!


I've changed my user config file to this:


<Directory "/Users/geopaula/Sites/">
Options Includes Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>


ScriptAlias /~geopaula/cgi-bin/ "Users/geopaula/Sites/cgi-bin/"


Server Side Includes work fine now but while the root cgi-bin works fine (ie localhost/cig-bin) per your part 2, calling either the directory itself or anything in it using: http://localhost/~geopaula/cgi-bin/ will give me a:


Not Found
The requested URL /~geopaula/cgi-bin/ was not found on this server.


If I comment out the line:
ScriptAlias /~geopaula/cgi-bin/ "Users/geopaula/Sites/cgi-bin/"


then the message goes away and I can get to a cgi script in the folder but instead of excuting the script it just dumps it out. The scripts are the same ones you used earlier to test with the inital cgi setup for the root (localhost/cgi-bin) and they worked fine there. I've chmod'd the scripts to 755 to no effect.


Any ideas as to where I've screwed up your kind instructions?


Thanks in advance!