Jump to content

Problems with htaccess protection


adamjblakey

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/103244-problems-with-htaccess-protection/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.