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

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Micah DesJardins
Date:  
To: Main PLUG discussion list
Subject: 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