Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Editing .htaccess - Password Protection

edited January 2012 in Vanilla 2.0 - 2.8

I want to create a Vanilla forum which is only available for a small group of people. My plan is, that others shouldn't be able to see the forum at all.
So I tried to modify the existing .htaccess with the following code:

AuthType Basic

AuthUserFile /html/forum/.passwd

AuthName "Protected"

order deny,allow

allow from all

require valid-user

In addition I created the .passwd file with:


When I now want to access the forum the correct form appears, but when I want to log in there's error 500.

It was the first time I tried to modify the .htaccess, I've never done that before. Is there a problem with Vanilla or the existing part of the .htaccess with my additions? Or it's just my fault cause of mistakes in the code above?

Hope you can help me!

Best Answer


Sign In or Register to comment.