2017-05-17から1日間の記事一覧

特定ページのみBASIC認証かける設定方法

web

.htaccess <Files ~ "^\.(htaccess|htpasswd)$"> deny from all </Files> AuthUserFile /home/hoge/html/.htpasswd AuthGroupFile /dev/null AuthName "Please enter your ID and password" AuthType Basic order deny,allow <Files test.html> require valid-user </Files>パスワード(.htpasswd)作成はこちらから http://www.nish…

プラスアルファレンタルサーバーで.htaccessとか書く時のpublic_htmlへのルートディレクトリ

web

/home/FTPユーザ名/public_htmlネタ元 https://www.plus-server.net/faq/topic.php?go=topic&num=52