Apache Web-Serving with Mac OS X, Part 4
Subject:   hwo to use cgi-bin folder outside the shared folder ?
Date:   2003-05-03 04:46:07
From:   anonymous2
i'm sharing with patrick.conf a folder inside my Sites folder. When i put in a cgi-bin folder, it works perfectly, but when i try to put this cgi-bin folder outside my shared folder i have a 404 error.
exemple : /Users/patrick/Sites/sitetest/ is an alias.
/Users/patrick/Sites/sitetest/cgi-bin/ works, but
/Users/patrick/Sites/cgi-bin/ doesn't.

My conf is :
<Directory "/Users/patrick/Sites/">
Options Includes MultiViews Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all

Alias /~patrick/ "/Users/patrick/Sites/sitetest/"

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

So how can i do not to share the cgi-bin folder ? it's exactly like the httpd.conf : /Library/webserver/Document/is shared but the cgi-bin are in /Library/webserver/CGI-Executable/