0
我只需要給出一個用戶看到該網站的權限,所以這是我的htaccess文件:我需要讓訪問僅在.htaccess用戶
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /party/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /festivalmusicasullacqua/index.php [L]
</IfModule>
AuthBasicProvider file
AuthUserFile /party/.htpasswd
AuthName "Authorization Form Title"
AuthType Basic
#Allow any valid user
require valid-user
#Allow only one user with specified username
require user festival
# END WordPress
的問題是,當我把值登錄我得到一個500內部服務器錯誤。任何人都可以幫助我?