Connecting Tech Pros Worldwide Forums | Help | Site Map

Problems with htaccess protection

Member
 
Join Date: Jan 2008
Posts: 121
#1: Apr 22 '08
Hi,

I have a folder on my server which i want to protect. I though everything is setup fine and does protect the folder but also protects the public_html also even though the htaccess file is in a sub folder.

Expand|Select|Wrap|Line Numbers
  1. AuthName "Restricted Area" 
  2. AuthType Basic 
  3. AuthUserFile /vhost/vhost6/s/d/o/.htpasswd 
  4. AuthGroupFile /dev/null 
  5. require valid-user
  6.  
Any ideas?

Cheers,
Adam

Reply


Similar Unix / Linux / BSD bytes