ベーシック認証(Apache編)
Apacheでのベーシック認証設定のおさらい
まずは、httpd.confの設定
まずは、httpd.confの設定
AllowOverride All
次に.htaccessファイルの作成
AuthUserFile /ルートからのフルパス/.htpasswd
AuthGroupFile /dev/null
AuthName "Please Enter Your Password"
AuthType Basic
Require user ユーザ名
htpasswd -c .htpasswd ユーザ名
以上。update : 2008年6月 9日 01:54 AM
Categories
latest entries
Copyright © 2008 hidamari.biz All Rights Reserved.
