. . . . . .
.
.
. ..
.
.
Webサーバ勉強会
各種モジュール読み込み設定 1
まえだこうへい mkouhei@debian.or.jp
all id: mkouhei
2010 年 11 月 2 日
. . . . . .
自己紹介
まえだこうへい
(mkouhei)
GPG KeyID :
4096R/7E37CE41
Debian JP Project,
東京エリア Debian
勉強会を中心に
活動。
優先度:こまめ, ヨ
メ, 家事, プライ
ベートの順。
仕事:R&D, 社内技
術支援
仕事も全て Debian
にしたい
@IT「知って見るみ
る KVM」
KVM 徹底入門 (出
版されたので少し負
荷減った)
@IT「ゆったリラッ
クス!CouchDB が
あるところ」#5
もう一冊執筆なう。
. . . . . .
担当箇所: モジュールの読
み込み
. . . . . .
LoadMoudleの書式
LoadModule モジュール識別子 パス
. . . . . .
担当分のモジュール一覧
mod auth basic
mod auth digest
mod authn file
mod authn alias
mod authn anon
mod authn dbm
mod authn default
mod authz host
mod authz user
mod authz owner
mod authz groupfile
mod authz dbm
mod authz default
mod ldap
mod authnz ldap
mod include
mod log config
. . . . . .
認証系モジュールをまとめてみた。
mod_dbd
mod_ldap
認証フロントエンド
モジュール
ユーザ認証
モジュール
mod_authn_default
設定なし
mod_auth_basic
mod_auth_digest
mod_authn_file file
mod_authn_dbm dbm
mod_authn_dbd dbd
mod_authnz_ldap ldap
mod_authn_anon
mod_authn_alias
alias
alias
alias
alias
mod_authz_user
user
valid-user
mod_authz_owner
file-owner
file-group
グループ承認
承認モジュール mod_authz_default
設定なし
ユーザ承認
ファイル所有者
file-owner
mod_authz_host
ホスト名
or
IPアドレス
mod_authz_groupfile
mod_authz_dbm
フォールバック
モジュール
認証プロバイダ
コネクションプール、
キャッシュ
コネクションプール、
キャッシュ
OS管理の情報など
anonymous認証
. . . . . .
mod auth basic 1
ベーシック認証
モジュール識別子: auth basic module
path: modules/mod auth basic.so
ディレクティブ:
AuthBasicAuthoritative
AuthBasicProvider
1
http://httpd.apache.org/docs/2.2/en/mod/mod_auth_basic.html
. . . . . .
mod auth digest 2
MD5 ダイジェスト認証
モジュール識別子: auth digest module
path: modules/mod auth digest.so
ディレクティブ:
AuthDigestAlgorithm
AuthDigestDomain
AuthDigestNcCheck
AuthDigestNonceFormat
AuthDigestNonceLifetime
AuthDigestProvider
AuthDigestQop
AuthDigestShmemSize
2
http://httpd.apache.org/docs/2.2/en/mod/mod_auth_digest.html
. . . . . .
mod authn file 3
テキストファイルを用いたユーザ認証
モジュール識別子: authn file module
path: modules/mod authn file.so
ディレクティブ:
AuthUserFile
3
http://httpd.apache.org/docs/2.2/en/mod/mod_authn_file.html
. . . . . .
mod authn alias4
Provides the ability to create extended authentication
providers based on actual providers
モジュール識別子: authn alias module
path: modules/mod authn alias.so
ディレクティブ:
<AuthnProviderAlias>
4
http://httpd.apache.org/docs/2.2/en/mod/mod_authn_alias.html
. . . . . .
mod authn anon5
anonymous ユーザに認証必要な領域へのアクセス権を付与。
モジュール識別子: authn anon module
path: modules/mod authn anon.so
ディレクティブ:
Anonymous
Anonymous LogEmail
Anonymous MustGiveEmail
Anonymous NoUserID
Anonymous VerifyEmail
5
http://httpd.apache.org/docs/2.2/en/mod/mod_authn_anon.html
. . . . . .
mod authn dbm6
DBM ファイルを使用したユーザ認証。
モジュール識別子: authn dbm module
path: modules/mod authn dbm.so
ディレクティブ:
AuthDBMType
AuthDBMUserFile
6
http://httpd.apache.org/docs/2.2/en/mod/mod_authn_dbm.html
. . . . . .
mod authn default7
認証フォールバックモジュール
モジュール識別子: authn default module
path: modules/mod authn default.so
ディレクティブ:
  AuthDefaultAuthoritative
7
http://httpd.apache.org/docs/2.2/en/mod/mod_authn_default.html
. . . . . .
mod authz host8
ホストベースのグループ認証。名前ベースまたは IP アドレ
スベース。
モジュール識別子: authz host module
path: modules/mod authz host.so
ディレクティブ:
Allow
Deny
Order
8
http://httpd.apache.org/docs/2.2/en/mod/mod_authz_host.html
. . . . . .
mod authz user9
ユーザ認証
モジュール識別子: authz user module
path: modules/mod authz user.so
ディレクティブ:
AuthzUserAuthoritative
9
http://httpd.apache.org/docs/2.2/en/mod/mod_authz_user.html
. . . . . .
mod authz owner10
ファイルの所有者ベースの認証。
モジュール識別子: authz owner module
path: modules/mod authz owner.so
ディレクティブ:
AuthzOwnerAuthoritative
10
http://httpd.apache.org/docs/2.2/en/mod/mod_authz_owner.html
. . . . . .
mod authz groupfile11
平文ファイルを使用したグループ認証。
モジュール識別子: authz groupfile module
path: modules/mod authz groupfile.so
ディレクティブ:
AuthGroupFile
AuthzGroupFileAuthoritative
11
http://httpd.apache.org/docs/2.2/en/mod/mod_authz_groupfile.html
. . . . . .
mod authz dbm12
DBM ファイルを使用したグループ認証。
モジュール識別子: authz dbm module
path: modules/mod authz dbm.so
ディレクティブ:
AuthDBMGroupFile
AuthzDBMAuthoritative
AuthzDBMType
12
http://httpd.apache.org/docs/2.2/en/mod/mod_authz_dbm.html
. . . . . .
mod authz default13
認証フォールバックモジュール。
モジュール識別子: authz default module
path: modules/mod authz default.so
ディレクティブ:
AuthzDefaultAuthoritative
13
http://httpd.apache.org/docs/2.2/en/mod/mod_authz_default.html
. . . . . .
mod ldap14
モジュール識別子: ldap module
path: modules/mod ldap.so
ディレクティブ:
LDAPCacheEntries
LDAPCacheTTL
LDAPConnectionTimeout
LDAPOpCacheEntries
LDAPOpCacheTTL
LDAPSharedCacheFile
LDAPSharedCacheSize
LDAPTrustedClientCert
LDAPTrustedGlobalCert
LDAPTrustedMode
LDAPVerifyServerCert
14
http://httpd.apache.org/docs/2.2/en/mod/mod_ldap.html
. . . . . .
mod authnz ldap15
ベーシック認証用のデータベースとして LDAP ディレクト
リを使用する。
モジュール識別子: authnz ldap module
path: modules/mod authnz ldap.so
ディレクティブ:
AuthLDAPBindAuthoritative
AuthLDAPBindDN
AuthLDAPBindPassword
AuthLDAPCharsetConfig
AuthLDAPCompareDNOnServer
AuthLDAPDereferenceAliases
AuthLDAPGroupAttribute
AuthLDAPGroupAttributeIsDN
AuthLDAPRemoteUserAttribute
AuthLDAPRemoteUserIsDN
AuthLDAPUrl
AuthzLDAPAuthoritative
15
http://httpd.apache.org/docs/2.2/en/mod/mod_authnz_ldap.html
. . . . . .
mod include16
SSI の設定。
モジュール識別子: include module
path: modules/mod include.so
ディレクティブ:
SSIEnableAccess
SSIEndTag
SSIErrorMsg
SSIETag
SSILastModified
SSIStartTag
SSITimeFormat
SSIUndefinedEcho
XBitHack
16
http://httpd.apache.org/docs/2.2/en/mod/mod_include.html
. . . . . .
mod log config17
モジュール識別子: log config module
path: modules/mod log config.so
ディレクティブ:
BufferedLogs
CookieLog
CustomLog
LogFormat
TransferLog
17
http://httpd.apache.org/docs/2.2/en/mod/mod_log_config.html
. . . . . .
まとめ
. . . . . .
GraphvizとLaTeXはインフラ
エンジニアの必須ツールだ
よね。(お

More Related Content

PDF
エンジニアのための痔の話
PDF
Gentooサークル新歓コンパのご案内
ODP
PDF
Ubuntuとコンテナ技術 What is LXD? and Why? 2015-12-08
PDF
初心者がOpenIndianaで自宅サーバを作ったよって話
PDF
今最もアツイdistribution Gentoo Linuxについて
PDF
Lxc で始めるケチケチ仮想化生活?!
PPTX
Ren’pyの御紹介
エンジニアのための痔の話
Gentooサークル新歓コンパのご案内
Ubuntuとコンテナ技術 What is LXD? and Why? 2015-12-08
初心者がOpenIndianaで自宅サーバを作ったよって話
今最もアツイdistribution Gentoo Linuxについて
Lxc で始めるケチケチ仮想化生活?!
Ren’pyの御紹介

What's hot (20)

ODP
自宅サーバ仮想化
PDF
マウスを使わないでキーボードで快適に生活する方法(GNU Screen/tmux/byobu/awesome)
PDF
しつこくXenとzfsで作る家庭内vdiサーバ2015年版
PPTX
Prefixから始めるgentoo生活
PDF
Goodby Hatena, hello Sphinx
PDF
“bcache”を使ってSSDの速さと HDDの大容量のいいとこどり 2015-12-12
PDF
俺のGentooがこんなに可愛いわけがない
PDF
NetwalkerとARM Linuxのカスタマイズ情報
ODP
Open Design Computer Project - Tsukuba.pm
PPTX
無印Pentium debian install memo
PDF
TIME_WAITに関する話
PDF
XenServerとZFSストレージでサーバ仮想化 - OSC2011 Tokyo/Spring 自宅SAN友の会(後半)
PDF
自分色のLinuxホームサーバーを作ってみよう
PDF
ほんとはこわくない Gentoo Linux
PDF
LXC入門 - Osc2011 nagoya
PDF
20130126 第2回福岡debian勉強会 debian wheezyとdebian installerのはなし
PDF
systemdを始めよう
PDF
Rumpを使ってみる
PDF
後期第六回ネットワークチーム講座資料2016
PDF
意識の低い自動化
自宅サーバ仮想化
マウスを使わないでキーボードで快適に生活する方法(GNU Screen/tmux/byobu/awesome)
しつこくXenとzfsで作る家庭内vdiサーバ2015年版
Prefixから始めるgentoo生活
Goodby Hatena, hello Sphinx
“bcache”を使ってSSDの速さと HDDの大容量のいいとこどり 2015-12-12
俺のGentooがこんなに可愛いわけがない
NetwalkerとARM Linuxのカスタマイズ情報
Open Design Computer Project - Tsukuba.pm
無印Pentium debian install memo
TIME_WAITに関する話
XenServerとZFSストレージでサーバ仮想化 - OSC2011 Tokyo/Spring 自宅SAN友の会(後半)
自分色のLinuxホームサーバーを作ってみよう
ほんとはこわくない Gentoo Linux
LXC入門 - Osc2011 nagoya
20130126 第2回福岡debian勉強会 debian wheezyとdebian installerのはなし
systemdを始めよう
Rumpを使ってみる
後期第六回ネットワークチーム講座資料2016
意識の低い自動化
Ad

Viewers also liked (15)

PDF
Inversión inmobiliaria y EuroStoxx
ODP
La Oruga Puga
PPTX
Tarea seminario 5
PDF
Alhrwb alslebeh-als-2
PPTX
Makerspaces on a Budget: A Focus on 3D Printing
PPTX
読めばやるべきことが100分の1になる本を100分の1にして読んでみた。
PDF
DNS悩み多きシステムの基礎から最新状況まで
PDF
AWSで自宅サーバ?
PDF
Alpha gor 2
PDF
Laudato, sii mio signore_Riscrittura
PPTX
Instagram: 28 creative hashtags to rock your feed!
PDF
Radiacion teoria
PDF
熟議をシミュレーションする授業のデザイン
PDF
あなたがコミュニケーションスキルを学ぶ前に必要なこと【第1回目】
Inversión inmobiliaria y EuroStoxx
La Oruga Puga
Tarea seminario 5
Alhrwb alslebeh-als-2
Makerspaces on a Budget: A Focus on 3D Printing
読めばやるべきことが100分の1になる本を100分の1にして読んでみた。
DNS悩み多きシステムの基礎から最新状況まで
AWSで自宅サーバ?
Alpha gor 2
Laudato, sii mio signore_Riscrittura
Instagram: 28 creative hashtags to rock your feed!
Radiacion teoria
熟議をシミュレーションする授業のデザイン
あなたがコミュニケーションスキルを学ぶ前に必要なこと【第1回目】
Ad

More from Kouhei Maeda (11)

PDF
とあるWeb企業でのDebianシステムの使い方。
PDF
ldapvi & python-ldap で stress-free life
PDF
Git pyfes201207-presen
PDF
Lxc cf201207-presen
PDF
インフラエンジニアのためのGit入門
PDF
僕の疑問に答えてください。
PDF
Debian JP会長就任の挨拶
PDF
Debianでできる簡単監視システム。
PDF
Debianでできる簡単監視システム
PDF
CouchDB on Androidでスタンドアローンアプリ。
PDF
あいぽん落としたと聞いたので!
とあるWeb企業でのDebianシステムの使い方。
ldapvi & python-ldap で stress-free life
Git pyfes201207-presen
Lxc cf201207-presen
インフラエンジニアのためのGit入門
僕の疑問に答えてください。
Debian JP会長就任の挨拶
Debianでできる簡単監視システム。
Debianでできる簡単監視システム
CouchDB on Androidでスタンドアローンアプリ。
あいぽん落としたと聞いたので!

S2s websrv201011-presen

  • 1. . . . . . . . . . .. . . Webサーバ勉強会 各種モジュール読み込み設定 1 まえだこうへい mkouhei@debian.or.jp all id: mkouhei 2010 年 11 月 2 日
  • 2. . . . . . . 自己紹介 まえだこうへい (mkouhei) GPG KeyID : 4096R/7E37CE41 Debian JP Project, 東京エリア Debian 勉強会を中心に 活動。 優先度:こまめ, ヨ メ, 家事, プライ ベートの順。 仕事:R&D, 社内技 術支援 仕事も全て Debian にしたい @IT「知って見るみ る KVM」 KVM 徹底入門 (出 版されたので少し負 荷減った) @IT「ゆったリラッ クス!CouchDB が あるところ」#5 もう一冊執筆なう。
  • 3. . . . . . . 担当箇所: モジュールの読 み込み
  • 4. . . . . . . LoadMoudleの書式 LoadModule モジュール識別子 パス
  • 5. . . . . . . 担当分のモジュール一覧 mod auth basic mod auth digest mod authn file mod authn alias mod authn anon mod authn dbm mod authn default mod authz host mod authz user mod authz owner mod authz groupfile mod authz dbm mod authz default mod ldap mod authnz ldap mod include mod log config
  • 6. . . . . . . 認証系モジュールをまとめてみた。 mod_dbd mod_ldap 認証フロントエンド モジュール ユーザ認証 モジュール mod_authn_default 設定なし mod_auth_basic mod_auth_digest mod_authn_file file mod_authn_dbm dbm mod_authn_dbd dbd mod_authnz_ldap ldap mod_authn_anon mod_authn_alias alias alias alias alias mod_authz_user user valid-user mod_authz_owner file-owner file-group グループ承認 承認モジュール mod_authz_default 設定なし ユーザ承認 ファイル所有者 file-owner mod_authz_host ホスト名 or IPアドレス mod_authz_groupfile mod_authz_dbm フォールバック モジュール 認証プロバイダ コネクションプール、 キャッシュ コネクションプール、 キャッシュ OS管理の情報など anonymous認証
  • 7. . . . . . . mod auth basic 1 ベーシック認証 モジュール識別子: auth basic module path: modules/mod auth basic.so ディレクティブ: AuthBasicAuthoritative AuthBasicProvider 1 http://httpd.apache.org/docs/2.2/en/mod/mod_auth_basic.html
  • 8. . . . . . . mod auth digest 2 MD5 ダイジェスト認証 モジュール識別子: auth digest module path: modules/mod auth digest.so ディレクティブ: AuthDigestAlgorithm AuthDigestDomain AuthDigestNcCheck AuthDigestNonceFormat AuthDigestNonceLifetime AuthDigestProvider AuthDigestQop AuthDigestShmemSize 2 http://httpd.apache.org/docs/2.2/en/mod/mod_auth_digest.html
  • 9. . . . . . . mod authn file 3 テキストファイルを用いたユーザ認証 モジュール識別子: authn file module path: modules/mod authn file.so ディレクティブ: AuthUserFile 3 http://httpd.apache.org/docs/2.2/en/mod/mod_authn_file.html
  • 10. . . . . . . mod authn alias4 Provides the ability to create extended authentication providers based on actual providers モジュール識別子: authn alias module path: modules/mod authn alias.so ディレクティブ: <AuthnProviderAlias> 4 http://httpd.apache.org/docs/2.2/en/mod/mod_authn_alias.html
  • 11. . . . . . . mod authn anon5 anonymous ユーザに認証必要な領域へのアクセス権を付与。 モジュール識別子: authn anon module path: modules/mod authn anon.so ディレクティブ: Anonymous Anonymous LogEmail Anonymous MustGiveEmail Anonymous NoUserID Anonymous VerifyEmail 5 http://httpd.apache.org/docs/2.2/en/mod/mod_authn_anon.html
  • 12. . . . . . . mod authn dbm6 DBM ファイルを使用したユーザ認証。 モジュール識別子: authn dbm module path: modules/mod authn dbm.so ディレクティブ: AuthDBMType AuthDBMUserFile 6 http://httpd.apache.org/docs/2.2/en/mod/mod_authn_dbm.html
  • 13. . . . . . . mod authn default7 認証フォールバックモジュール モジュール識別子: authn default module path: modules/mod authn default.so ディレクティブ:   AuthDefaultAuthoritative 7 http://httpd.apache.org/docs/2.2/en/mod/mod_authn_default.html
  • 14. . . . . . . mod authz host8 ホストベースのグループ認証。名前ベースまたは IP アドレ スベース。 モジュール識別子: authz host module path: modules/mod authz host.so ディレクティブ: Allow Deny Order 8 http://httpd.apache.org/docs/2.2/en/mod/mod_authz_host.html
  • 15. . . . . . . mod authz user9 ユーザ認証 モジュール識別子: authz user module path: modules/mod authz user.so ディレクティブ: AuthzUserAuthoritative 9 http://httpd.apache.org/docs/2.2/en/mod/mod_authz_user.html
  • 16. . . . . . . mod authz owner10 ファイルの所有者ベースの認証。 モジュール識別子: authz owner module path: modules/mod authz owner.so ディレクティブ: AuthzOwnerAuthoritative 10 http://httpd.apache.org/docs/2.2/en/mod/mod_authz_owner.html
  • 17. . . . . . . mod authz groupfile11 平文ファイルを使用したグループ認証。 モジュール識別子: authz groupfile module path: modules/mod authz groupfile.so ディレクティブ: AuthGroupFile AuthzGroupFileAuthoritative 11 http://httpd.apache.org/docs/2.2/en/mod/mod_authz_groupfile.html
  • 18. . . . . . . mod authz dbm12 DBM ファイルを使用したグループ認証。 モジュール識別子: authz dbm module path: modules/mod authz dbm.so ディレクティブ: AuthDBMGroupFile AuthzDBMAuthoritative AuthzDBMType 12 http://httpd.apache.org/docs/2.2/en/mod/mod_authz_dbm.html
  • 19. . . . . . . mod authz default13 認証フォールバックモジュール。 モジュール識別子: authz default module path: modules/mod authz default.so ディレクティブ: AuthzDefaultAuthoritative 13 http://httpd.apache.org/docs/2.2/en/mod/mod_authz_default.html
  • 20. . . . . . . mod ldap14 モジュール識別子: ldap module path: modules/mod ldap.so ディレクティブ: LDAPCacheEntries LDAPCacheTTL LDAPConnectionTimeout LDAPOpCacheEntries LDAPOpCacheTTL LDAPSharedCacheFile LDAPSharedCacheSize LDAPTrustedClientCert LDAPTrustedGlobalCert LDAPTrustedMode LDAPVerifyServerCert 14 http://httpd.apache.org/docs/2.2/en/mod/mod_ldap.html
  • 21. . . . . . . mod authnz ldap15 ベーシック認証用のデータベースとして LDAP ディレクト リを使用する。 モジュール識別子: authnz ldap module path: modules/mod authnz ldap.so ディレクティブ: AuthLDAPBindAuthoritative AuthLDAPBindDN AuthLDAPBindPassword AuthLDAPCharsetConfig AuthLDAPCompareDNOnServer AuthLDAPDereferenceAliases AuthLDAPGroupAttribute AuthLDAPGroupAttributeIsDN AuthLDAPRemoteUserAttribute AuthLDAPRemoteUserIsDN AuthLDAPUrl AuthzLDAPAuthoritative 15 http://httpd.apache.org/docs/2.2/en/mod/mod_authnz_ldap.html
  • 22. . . . . . . mod include16 SSI の設定。 モジュール識別子: include module path: modules/mod include.so ディレクティブ: SSIEnableAccess SSIEndTag SSIErrorMsg SSIETag SSILastModified SSIStartTag SSITimeFormat SSIUndefinedEcho XBitHack 16 http://httpd.apache.org/docs/2.2/en/mod/mod_include.html
  • 23. . . . . . . mod log config17 モジュール識別子: log config module path: modules/mod log config.so ディレクティブ: BufferedLogs CookieLog CustomLog LogFormat TransferLog 17 http://httpd.apache.org/docs/2.2/en/mod/mod_log_config.html
  • 24. . . . . . . まとめ
  • 25. . . . . . . GraphvizとLaTeXはインフラ エンジニアの必須ツールだ よね。(お