Page 1 of 1

Protecting admin and album folders

Posted: 08 Jun 2013, 08:10
by dreni
I have protected my webinterface by following this guide:
xyz://wiki.excito.org/wiki/index.php/Password_protect_directories_using_htaccess

So when I try to access my bubba b3 through xyz.myownb3.com then a login popup shows upp where I need to enter a username and password.

But if I visit xyz.myownb3.com/admin or xyz.myownb3.com/album it bypasses the password protection.
Where should I put the .htaccess file to protect these two folders, admin and album?

Thanks

Re: Protecting admin and album folders

Posted: 11 Jun 2013, 03:23
by gonk

Re: Protecting admin and album folders

Posted: 11 Jun 2013, 08:32
by Gordon
It doesn't actually bypass the security. The security simply doesn't apply because /admin is not a child folder of /home/web. Same for /album, /horde, /pim etcetera. To use the password protection on these folders you need to repeat your actions for /home/web to the corresponding folders for these virtual directories.