Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

  • x00 January 23

Who's Online 10

CurtisOdenUnderDogericgilletteestevd422 +4 guests

Editing .htaccess - Password Protection

Hey! 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:

user:encryptedpassword

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!

Comments

  • x00x00
    Posts: 1,548 Accepted Answer 1 like

    This is not necessary. .htaccess is fairly unforgiving, so if you don't get the rules 100% right it can error.

    Check out the private community plugin.

    grep is your friend.

Sign In or Register to comment.