Not exactly Linux-specific, but... [=^J

On Wed, Apr 12, 2000 at 12:12:45PM -0700, Allen Heinecke wrote:
> Does anyone know how to get apache to recognize each individual user's
> cgi-bin directory... I believe that I had this working at one time, but
> now I can't find it in the configuration files for the life of me.

I'm not sure how you are setting up your web server, but, in general,
use the ScriptAlias mapping directive within the <VirtualHost> sectional 
directive.

Like so:
 
ScriptAlias     /cgi-bin/ /www/server/path/user/site/cgi-bin/

For example:

<VirtualHost 123.45.67.89>
    ServerName      www.usersite.net
    ServerAdmin     [EMAIL PROTECTED]
    DocumentRoot    /www/server/path/user/site
    ScriptAlias     /cgi-bin/ /www/server/path/user/site/cgi-bin/
    ErrorLog        /wwwlogs/logs/usersite/error_log
#   TransferLog     /wwwlogs/logs/usersite/access_log
    TransferLog "|/usr/local/sbin/cronolog /wwwlogs/logs/usersite/%Y-%m-%d"
</VirtualHost>

If this doesn't work, check to see if you have 

AddHandler cgi-script cgi 

Hope that helps,

Erin  8)

Erin Clarke,
SysAdmin-y Type,
Doer of Many Things


_______________________________________________
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk

Reply via email to