MyBB Community Forums
[How To?] set website error code. - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: [How To?] set website error code. (/thread-146128.html)



set website error code. - Tonex - 2013-10-01

Hi!

I wanna put 401 unauthorized in my website so that it will require a username & and password in order to access it. How will I do it?

Thanks in Advance!


RE: set website error code. - LucasC - 2013-10-01

http://davidwalsh.name/password-protect-directory-using-htaccess