Basic認証の生成

生成ツール


Warning: Undefined variable $message in /home/xs439532/systools.site/public_html/wp-content/themes/cocoon-child-master/shortcode/basic.php on line 16
ID: パスワード:
Warning: Undefined variable $passwd_hash in /home/xs439532/systools.site/public_html/wp-content/themes/cocoon-child-master/shortcode/basic.php on line 20
設置例

Basic認証を.htaccessにて設定する場合の記述例

通常ケース

AuthType Basic
AuthName "Input your ID and Password."
AuthUserFile [.htpasswdのパス]/.htpasswd
Require valid-user

IPアドレスで許可 + その他をBasic認証

AuthType Basic
AuthName "Input your ID and Password."
AuthUserFile [.htpasswdのパス]/.htpasswd
<RequireAny>
    Require ip [許可するIPアドレス]
    require valid-user
</RequireAny>
タイトルとURLをコピーしました