Thread: Protect a folder in My VPS
hi, want protect 1 of folders in vps running under ubuntu server 10.04 lts i've tried doing using .htaccess , being prompted user name , password when enter user name , password same window again sure entering correct information. .htaccess file
authuserfile /var/www/folder/.htpasswd
authname "authorization required"
authtype basic
require user
file located in same folder want protect.
, .htpasswd
user:mgmeybwl7d1e
in same folder want protect
many thanks.
any errors in apache's error log?
check permissions of .htpasswd file - mustb e readable apache user.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Protect a folder in My VPS
Ubuntu
Comments
Post a Comment