Tell me more ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I have Centos 5.6 deployed along with Kloxo. Now I want to password protect my website. It means user has to provide uid/pwd to login (like this: http://www.elated.com/articles/password-protecting-your-pages-with-htaccess/)

I have configured Apache (AllowOverride = All) and created .htaccess, placing it in root document and .htpasswd file in upper folder. However, this does not work, I still can access my site without being asked for authentication by providing uid/pwd. (I did the same in Amazon EC2 and it worked great.) I guess I have to configure Kloxo for authentication, but I am newbie to Kloxo.

Can anyone help me configure authentication?

share|improve this question
What do you mean by "does not work"? What happens? – Chris Down May 24 '12 at 11:53
I can access my site without providing password – Tran Duc Vuong May 24 '12 at 12:02
I found out that we can use Protected Directories feature in Kloxo to password protect our website. However, the remaining concern is that if it failed to read .htaccess, then how can we rewrite URL, SEO... I'll check it out and report back later. – Tran Duc Vuong May 24 '12 at 13:31
Please don't crosspost. Closing since the SF version is still open – Michael Mrozek May 24 '12 at 13:44

closed as too localized by Michael Mrozek May 24 '12 at 13:44

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.