Problems with htaccess protection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adamjblakey
    New Member
    • Jan 2008
    • 133

    Problems with htaccess protection

    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.

    Code:
    AuthName "Restricted Area" 
    AuthType Basic 
    AuthUserFile /vhost/vhost6/s/d/o/.htpasswd 
    AuthGroupFile /dev/null 
    require valid-user
    Any ideas?

    Cheers,
    Adam
Working...