Home : Products : Links 2.0 : Discussions :

Products: Links 2.0: Discussions: Re: [Kaz] htpasswd protect files (NOT directories): Edit Log

Here is the list of edits for this post
Re: [Kaz] htpasswd protect files (NOT directories)
I don't know what the other guy is talking about, but it is possible to protect just files. I just did it, in fact. I'm new to this and am tryting to figure out how to protect multiple file in my CGI directory.

I may not know much, but if it works, it works. Here is a sample of the code I'm using in my .htaccess file in CGI directory:

<Files CGIPROGRAM.pl>
AuthUserFile /home/USER/DIR/.htpasswd
AuthName "WHATEVER"
AuthType Basic
require valid-user
</Files>

Hope that works for you! I also hope that people who don't know what theyr'e talking about wouldn't say some is "not possible".

-Philip

www.321green.com

To contact me, click here

Last edited by:

Mr_Green.com: Aug 5, 2003, 7:08 PM

Edit Log: