View Single Post
Old 06-23-2007, 02:42 PM  
GooSearch
Confirmed User
 
Join Date: Oct 2006
Location: FLA
Posts: 2,538
Quote:
Originally Posted by rowan View Post
I don't see why it shouldn't be possible, the "AuthUserFile" directive in Apache references a full path and filename, which means you should be able to use it more than once.

Here's an example, you would place this in .htaccess in both directories you wish to protect.

AuthName "member area"
AuthType Basic
AuthUserFile /path/to/htpasswd
require valid-user

hmm so i would just change /path/to/hatpasswd will try it
__________________
GooSearch Real Text Ads Without The Drama
Coming Back Bigger and Better Then Ever
GooSearch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote