.htaccess/.htpasswd 500 Internal Server Error

后端 未结 6 1062
暗喜
暗喜 2020-12-13 17:14

I\'m working on blocking a folder with .htaccess, which I\'ve never used before, and I\'m having some trouble. Here\'s what I have

.htaccess (located in the folder I

6条回答
  •  春和景丽
    2020-12-13 17:54

    Permissions can cause this issue too.

    Make sure .htpasswd is readable by the web server user.

    For instance, if you use nginx check the nginx.conf to find out what the server user is, if you use Apache you can find it out this way, etc.

    Then set the right owners and read permissions to .htpasswd

提交回复
热议问题