I doubt that would work, I would say that apache would fail to start with a 
config like that. You can give the ExecCGI option to any directory so 
something like this would work:

ScriptAlias /cgi-bin/ /stuff/web/cgi-bin/
    <Directory /stuff/web/cgi-bin/>
    Options ExecCGI
    </Directory>
ScriptAlias /stats/ /stuff/web/stats-bin/
    <Directory /stuff/web/stats-bin/>
    Options ExecCGI
    </Directory>

> In apache can you have two cgi-bin directories??
> 
> ie..
> cgi-bin
> stats-bin
> 
> so would the following work.
> 
> ScriptAlias /cgi-bin/ /stuff/web/cgi-bin/
>    <Directory /stuff/web/cgi-bin/>
>    Options ExecCGI
>    </Directory>
> ScriptAlias /cgi-bin/ /stuff/web/stats-bin/
>    <Directory /stuff/web/stats-bin/>
>    Options ExecCGI
>    </Directory>
> 
> From the things i have had to deal with apache.. I can't see why it
> won't work..  But i thought I better check if someone has done this.. 
> As the web server i am playing around :)))))  can't go crashing to the
> ground in a big ball of flames :))
> 
> Johnno


Reply via email to