XF 2.0 Testinstallation pw-protection

Hi guys!

I got a question regarding the test installation that I am allowed to have.

I have a Forum up and running, with XF1.5. Now, I am basically waiting for a language package (German) to be available to switch it to XF2.0.

I have run a setup at home on XAMPP and I am satisfied with what I saw, now I would like to run a test install on my actual webserver to see how this works out.

I wanted to use a .htaccess to protect it with a password, so I edited the corresponding lines into my .htaccess

AuthType Basic
AuthName "My Protected Area"
AuthUserFile /path/to/.htpasswd
Require valid-user

I also set up a .htpasswd.

If I run the .htaccess with just the content above in connection with the .htpasswd everything works fine.

As soon as I edit this into the XF2.0 .htaccess I keep getting an error from the server, name "500 internal error".

Any ideas what I might be doing wrong?
 
Actually it does not. I have done it exactly the way as described there.

The funny part is, that I actually tried it before bringing the files for XF2 on there. I created the .htpasswd and a .htaccess containing only the instructions for the password query. I also brought up an index.html simply saying hello to test it.
Everything worked as it was supposed to.

So I copied the XF files and added the respective lines to the XF2 .htaccess. It did not work. And thats where I am stuck.

EDIT: I have done quite extensive testing now: The .htaccess together with the .htpasswd work just fine. Its the XF2.0 that somehow has an issue with what I am doing to its .htaccess.
any idea where I am wrong with what I am doing?

EDIT2:

I managed to get it up and running the way I wanted to. :) problem solved. The problem was with my hosting provider.
 
Last edited:
Back
Top Bottom