خرید بک لینک

Vote count: 0

I just recently updated Apache 2.2 to Apache 2.4, and having a bit of trouble understanding the new stuff for authentication. What I'd like to have happen is for the website to check whether the visitor has their IP whitelisted, and if so, be let in, and if their IP isn't listed, they have to put in a useame/password.

<Directory "/home/useame/public_html">
AuthType Basic
AuthName "Random Title"
AuthUserFile /home/useame/public_html/.htpasswd

<RequireAny>
  Require ip 55.55.555.555
  Require valid-user
</RequireAny>

</Directory>

This is code that I found, and currently have implemented, but it throws an Inteal Server Error. What am I overlooking/not have in it?

asked 2 mins ago

- - , .

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 18 اسفند 1394 ساعت: 3:11

صفحه بندی