You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Cody Harris <hc...@ns.sympatico.ca> on 2003/02/28 20:58:06 UTC

[users@httpd] Apache CGI-BIN and etc

The following doesn't work the way i want it to:

ScriptAlias /cgi-bin "C:/Program Files/Apache Group/Apache/cgi-bin"

<directory "C:/Progra~1/Apache~1/Apache/cgi-bin">
ErrorDocument 403 /errcgis.html
AllowOverride All
Options All

deny from all
</directory>
<directory "C:/Progra~1/Apache~1/Apache/cgi-bin/genesis">
allow from all
</directory>

As you can see, i want people to access the Genesis folder, but not the 
folder under it (and all the other sub folders). What am i doing wrong?

Thanks.

Check out <http://vectec.net/>vectec.net for all your hosting needs  

Re: [users@httpd] Apache CGI-BIN and etc

Posted by BAO RuiXian <ba...@atbusiness.com>.
What is the way you want and what is the way it works now?

Bao

Cody Harris wrote:
> 
> The following doesn't work the way i want it to:
> 
> ScriptAlias /cgi-bin "C:/Program Files/Apache Group/Apache/cgi-bin"
> 
> <directory "C:/Progra~1/Apache~1/Apache/cgi-bin">
> ErrorDocument 403 /errcgis.html
> AllowOverride All
> Options All
> 
> deny from all
> </directory>
> <directory "C:/Progra~1/Apache~1/Apache/cgi-bin/genesis">
> allow from all
> </directory>
> 
> As you can see, i want people to access the Genesis folder, but not
> the folder under it (and all the other sub folders). What am i doing
> wrong?
> 
> Thanks.
> 
> Check out vectec.net for all your hosting needs

-- 
BAO RuiXian, SOFTWARE ENGINEER, Project Consulting, Software Services
AtBusiness Communications Corporation, Kaapeliaukio 1, 00180 Helsinki
Phone +358-9-2311 6674, Mobile +358-50-329 6275, Fax +358-9-2311 6601
www.atbusiness.com,  Email: {bao.ruixian, ruixian.bao}@atbusiness.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org