httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sim <simvi...@gmail.com>
Subject [users@httpd] Apache 2.0.55 : Auth&Allow from IP for CGI-BIN folder
Date Sun, 12 Feb 2006 21:45:30 GMT
Hi!

I'm trying to limit access for a cgi-bin folder, with Auth & IP

This is my config for auth, but when I try to insert : "allow from",
it bypass Auth phase.

How can I fix it ?

Thanks!


httpd.conf
-----------------------------------------------------------------

        <Directory "/var/www/cgi-bin/admin">
           Deny from all
           Options ExecCGI
           AllowOverride AuthConfig
           Order deny,allow
        </Directory>


.htaccess
-----------------------------------------------------------------
AuthType Basic
AuthUserFile /etc/httpd/conf/admin.passwd
AuthName Auth
require valid-user
Satisfy any

---------------------------------------------------------------------
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


Mime
View raw message