EC2にWordpressをインストールしました。
以下のように.htaccessを作成し.htpasswdファイルも作成しました。
lang
1<Files ~ "^\.(htaccess|htpasswd)$"> 2 deny from all 3</Files> 4Options -Indexes 5AuthUserFile /var/www/html/.htpasswd 6AuthGroupFile /dev/null 7AuthName "Please enter your ID and password" 8AuthType Basic 9require valid-user 10order deny,allow
Basic認証がうまく動きません、どうしてでしょうか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。