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

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Micah DesJardins
Dato:  
Til: Main PLUG discussion list
Emne: 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