Skip to main content

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

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support