ベーシック認証(Apache編)

Apacheでのベーシック認証設定のおさらい

まずは、httpd.confの設定

AllowOverride All

次に.htaccessファイルの作成

AuthUserFile /ルートからのフルパス/.htpasswd
AuthGroupFile /dev/null
AuthName "Please Enter Your Password"
AuthType Basic
Require user ユーザ名

最後に.htpasswdファイルの作成

htpasswd -c .htpasswd ユーザ名

以上。
update : 2008年6月 9日 01:54 AM
続きを読む >

Categories

Apache
セキュリティ
ベーシック認証
c++
XML
文字コード
Linux
時刻
Subversion
mac

latest entries

2008/06/09
ベーシック認証(Apache編)
Apacheでのベーシック認証設定のおさらい まずは、httpd.confの設...

 

Copyright © 2008 hidamari.biz All Rights Reserved.