Re: apache configuration, relax Auth restriction on 1 file?

Page principale
Attachements:
Message en tant que courrier électronique
+ (text/plain)
Supprimer ce message
Répondre à ce message
Auteur: Micah DesJardins
Date:  
À: Main PLUG discussion list
Sujet: Re: apache configuration, relax Auth restriction on 1 file?
You're on the right track with the Files directive, what you were
missing is allow from all and satisfy any. That way you can restrict
"above" the file in the directory tree and allow access to this one
file by allowing "Any" of the above checks to allow access and then to
use the allow directive to allow from all.

Example:

<Files /usr/local/apache/htdocs/somefile.ruby>
AuthType Basic
AuthName Restricted
AuthUserFile /www/passwd/users
Require valid-user
Order allow,deny
Allow from all
Satisfy any
</Files>

More info:

http://httpd.apache.org/docs/1.3/howto/auth.html
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss