##
## httpd.conf -- Apache HTTP server configuration file
##
#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
# After this file is processed, the server will look for and process
# /var/lib/apache/conf/srm.conf and then /var/lib/apache/conf/access.conf
# unless you have overridden these with ResourceConfig and/or
# AccessConfig directives here.
#
# はじめに、Apacheの設定項目(ディレクティブ)は、次に示すような3つにセクション
# に分けることができます。
#
# The configuration directives are grouped into three basic sections:
# 1. Directives that control the operation of the Apache server process as a
# whole (the 'global environment').
# 2. Directives that define the parameters of the 'main' or 'default' server,
# which responds to requests that aren't handled by a virtual host.
# These directives also provide default values for the settings
# of all virtual hosts.
# 3. Settings for virtual hosts, which allow Web requests to be sent to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
#
# 1. Apacheサーバプロセスの全般的な制御を行うためのディレクティブ
# (全般にわたる環境設定)
# 2. バーチャルホストでない「main」もしくは「default」サーバのパラメータ指定を
# 行うためのディレクティブ
# ここで指定した値は、すべてのバーチャルホストの初期値として反映されます。
# 3. Apacheサーバプロセスが、IPアドレスやホスト名により別々に要求を受け付けた
# 際の各バーチャルホスト毎のパラメータ指定をおこうためのディレクティブ
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
# with ServerRoot set to "/usr/local/apache" will be interpreted by the
# server as "/usr/local/apache/logs/foo.log".
#
#
# 設定ファイルとログファイルの名前については、次のように解釈されます。
#
# ・ファイル名が / で始まる(Win32の場合は、ドライブ:/)場合には、そのままで
# 使用します。
# ・ファイル名が前項に当てはまらない場合には、ServerRoot値をファイル名の前に付加
# します。
# もし、ServerRootが "/usr/local/apache" と指定されているときに、ログファイルの
# パス名を logs/foo.log
### Section 1: Global Environment
### セクション 1: 全般にわたる環境設定
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#
# このセクションのディレクティブは、Apacheの動作全般に対して影響を与えます。
# 同時に要求がたくさん来るような場合には、この設定ファイル内に手がかりが見つかる
# でしょう。
#
# ServerType is either inetd, or standalone. Inetd mode is only supported on
# Unix platforms.
#
# ServerType は、inetd もしくは standalone が指定できます。
# inetd モードは、UNIXプラットフォームでのみサポートされます
#
ServerType standalone 確認しましょう。
#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# ServerRoot: ログファイルなどのパスを指定する際のディレクトリツリーの、トップ
# ディレクトリを指定します。
#
# NOTE! If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation
# (available at );
# you will save yourself a lot of trouble.
#
# ※重要
# もし、NFSや他のネットワークからマウントしているファイルシステム上にするつもり
# であるなら、以下のLockFileドキュメントをお読みください。
# それにより、トラブルを防ぐことができるでしょう。
# http://www.apache.org/docs/mod/core.html#lockfile
# なお、ディレクトリパスの最後尾にはスラッシュをつけないでください。
#
ServerRoot "/var/lib/Apache" ここもサーバのルートですから確認しましょう。
#
# The LockFile directive sets the path to the lockfile used when Apache
# is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or
# USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at
# its default value. The main reason for changing it is if the logs
# directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL
# DISK. The PID of the main server process is automatically appended to
# the filename.
#
# LockFileディレクティブでは、Apacheのコンパイル時に USE_FCNTL_SERIALIZED_ACCEPT
# もしくはUSE_FLOCK_SERIALIZED_ACCEPT を付与していた場合のみロックファイルのパス
# がセットされます。このディレクティブは標準のままにすべきですが、ログファイルの
# ディレクトリにNFSがマウントされた場合にはロックファイルをローカルディスクに
# 作成しなければなりません。
# なお、メインサーバプロセスのプロセスIDが、指定されたファイル名に付与されます。
#
#LockFile /var/lib/apache/logs/httpd.lock
#
# PidFile: The file in which the server should record its process
# identification number when it starts.
#
# PidFile: 起動時のメインサーバのプロセスIDを記録しておくためのファイル名を
# 指定します。
#
PidFile /var/lib/apache/logs/httpd.pid
#
# ScoreBoardFile: File used to store internal server process information.
# Not all architectures require this. But if yours does (you'll know because
# this file will be created when you run Apache) then you *must* ensure that
# no two invocations of Apache share the same scoreboard file.
#
# ScoreBoardFile: 実行中のサーバ内部の情報を保存しておくためのファイル名を指定
# しますが、すべてのアーキテクチャ(コンピュータの種別)において必要になるわけ
# ではありません。
#
ScoreBoardFile /var/lib/apache/logs/httpd.scoreboard
#
# In the standard configuration, the server will process httpd.conf (this
# file, specified by the -f command line option), srm.conf, and access.conf
# in that order. The latter two files are now distributed empty, as it is
# recommended that all directives be kept in a single file for simplicity.
# The commented-out values below are the built-in defaults. You can have the
# server ignore these files altogether by using "/dev/null" (for Unix) or
# "nul" (for Win32) for the arguments to the directives.
#
# 標準設定の項目は、この設定ファイル(httpd.conf)のほか srm.conf、access.confの
# 順に処理されます。
# ただ、現在ではあとに示した2つのファイルは空のまま配布されており、ディレクテ
# ィブは、わかりやすくひとつのファイル内に書くことを推奨します。
#
# ここでコメントアウトされている値はデフォルトの値であり、まったくこれらのファ
# イルを利用しないのであれば、UNIXなら "/dev/null" Win32なら "nul" を指定して
# ください。
#
#ResourceConfig /var/lib/apache/conf/srm.conf
#AccessConfig /var/lib/apache/conf/access.conf
#
# Timeout: The number of seconds before receives and sends time out.
#
# Timeout: 受信および送信後のタイムアウト時間を設定します。
#
Timeout 300 5分間クライアントからパケットを受信しなかった場合は、タイムアウトとしてサーバは切断します。
#
# KeepAlive: Whether or not to allow persistent connections (more than
# one request per connection). Set to "Off" to deactivate.
#
# KeepAlive: 一回の接続で複数の要求を受け付けることができるように、持続した
# 接続 (キープアライブ機能)を許可するかどうかを指定し、無効にする場合には
# "Off" を指定します。
#
KeepAlive On
#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited amount.
# We recommend you leave this number high, for maximum performance.
#
# MaxKeepAliveRequests: 持続ままの接続で最大何回までの要求を受け付けるかを
# 指定し、0に指定した場合には何回でも要求を受け付けるようになります。
# パフォーマンスを向上させるには、この値を大きくすることをお勧めします。
#
MaxKeepAliveRequests 100
#
# KeepAliveTimeout: Number of seconds to wait for the next request from the
# same client on the same connection.
#
# KeepAliveTimeout: 持続ままの接続で、クライアントから次の要求を受け付ける
# までの時間制限を秒数で指定します。
#
KeepAliveTimeout 15
#
# Server-pool size regulation. Rather than making you guess how many
# server processes you need, Apache dynamically adapts to the load it
# sees --- that is, it tries to maintain enough server processes to
# handle the current load, plus a few spare servers to handle transient
# load spikes (e.g., multiple simultaneous requests from a single
# Netscape browser).
#
# サーバプールのサイズを調整します。
# 要は、どれだけのサーバプロセスを実行させるかということであり、負荷に応じ
# てApacheを動的に順応させることができます。
# これは、その時の負荷を処理できるだけの十分なサーバプロセスを起動しておき
# 一時的に負荷が上がったときでもスペアサーバを追加実行できるようにします。
# (例えば、Netscapeブラウザは、複数の要求を同時に送信します)
#
# It does this by periodically checking how many servers are waiting
# for a request. If there are fewer than MinSpareServers, it creates
# a new spare. If there are more than MaxSpareServers, some of the
# spares die off. The default values are probably OK for most sites.
#
# クライアントからの要求を待っている状態のサーバ数(処理をしていないサーバ
# の数)が、MinSpareServers 少なくなった場合には新しいサーバプロセスを起動
# し、MaxSpareServers 以上になった場合には、超えた分のサーバプロセスを順に
# 終了させていきます。
# 殆どのサイトでは、デフォルトの値が良いでしょう。
#
MinSpareServers 5
MaxSpareServers 10
#
# Number of servers to start initially --- should be a reasonable ballpark
# figure.
#
# 起動時に実行するサーバの数を指示します。
#
StartServers 5
#
# Limit on total number of servers running, i.e., limit on the number
# of clients who can simultaneously connect --- if this limit is ever
# reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.
# It is intended mainly as a brake to keep a runaway server from taking
# the system with it as it spirals down...
#
# 実行するサーバプロセスの最大数を指定するもので、同時に接続できるクライア
# ント数の上限を指定するものと見てよいでしょう。
# もし、この値に達すると、クライアントは接続できずに待機させられることにな
# りますから、小さすぎる設定はおこなわないようにしてください。
#
MaxClients 150 WWWサーバに対して同時アクセスできるクライアント数、この設定を超えたクライアントは待ちに入ります。
#
# MaxRequestsPerChild: the number of requests each child process is
# allowed to process before the child dies. The child will exit so
# as to avoid problems after prolonged use when Apache (and maybe the
# libraries it uses) leak memory or other resources. On most systems, this
# isn't really needed, but a few (such as Solaris) do have notable leaks
# in the libraries. For these platforms, set to something like 10000
# or so; a setting of 0 means unlimited.
#
# MaxRequestsPerChild: それぞれの子プロセスが終了するまでに処理することが
# できる回数を指定します。
# これは、Apacheやライブラリ等がメモリやリソースをリーク(不用意に使用して
# しまう)してしまった時に、問題を回避するためのものです。
# 大半のシステムでは実際に問題とはなりませんが、いくつか(例えばSolaris)
# のOSではライブラリのリークが顕著に表れます。
# そのようなプラットフォームの場合には、10000回くらいの要求を受け付けると
# 自動的に子プロセスを終了させ、メモリや資源のリークを最小限に抑えること
# が必要となるでしょう。
# なお、この値を 0 に設定すれば、何回でも要求を受け付けるようになります。
#
# NOTE: This value does not include keepalive requests after the initial
# request per connection. For example, if a child process handles
# an initial request and 10 subsequent "keptalive" requests, it
# would only count as 1 request towards this limit.
#
# ※重要
# この値は、キープアライブ接続の最初の要求以外はカウントしません。
# 例えば、あるひとつの子プロセスでキープアライブ機能により1接続のうちに
# 10回のアクセスを受けたとしても、一回の要求しかカウントされません。
#
MaxRequestsPerChild 0
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the
# directive.
#
# Listen: ApacheがどのIPアドレスとポートの使用をするのかを指定します。
# なお、ディレクティブもあわせて参照してください。
#
#Listen 3000
#Listen 12.34.56.78:80
#
# BindAddress: You can support virtual hosts with this option. This directive
# is used to tell the server which IP address to listen to. It can either
# contain "*", an IP address, or a fully qualified Internet domain name.
# See also the and Listen directives.
#
# BindAddress: このオプションにより、バーチャルホストをサポートすることが
# できます。(1ホストで、IPアドレスを毎に複数のApacheサーバを起動させる)
# このディレクティブは、サーバがどのIPアドレスでLISTEN(要求を待つ)する
# のかを指示するもので、IPアドレス/ドメイン名もしくは "*"(アスタリスク)
# を指定でき、"*" を指定すればホストに付与されたすべてのIPアドレスが対象
# となります。
# ただ、複数のアドレスを指定することはできないため、そのような場合には
# Listenディレクティブを使用します。
# なお、 と Listen の2つのディレクティブもあわせて参照して
# ください。
#
#BindAddress *
#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Please read the file http://httpd.apache.org/docs/dso.html for more
# details about the DSO mechanism and run `httpd -l' for the list of already
# built-in (statically linked and thus always available) modules in your httpd
# binary.
#
# 動的共有オブジェクト(Dynamic Shared Object - DSO)のサポート
#
# DSOにより構築されたモジュールの機能を利用する場合には、LoadModuleディ
# レクティブにより呼び出し、実際に指定した行より後で利用できます。
#
# DSOのメカニズムの概要について詳しく見るために、ぜひApache1.3配布ファイル
# に入っているREADME.DSOファイルを参照してください。
# また、`httpd -l' というオプションでhttpdを実行し、現在組み込まれている
# モジュールの一覧を見てみてください。
# (リストには、httpd.confで指定されるDSOによるモジュールは含まれません)
#
# Note: The order in which modules are loaded is important. Don't change
# the order below without expert advice.
#
# ※重要
# モジュールをロードする順番は非常に重要ですから、詳しい人のアドバイスなし
# で変更することはやめてください。
#
# Example:
# LoadModule foo_module libexec/mod_foo.so
#
# ExtendedStatus controls whether Apache will generate "full" status
# information (ExtendedStatus On) or just basic information (ExtendedStatus
# Off) when the "server-status" handler is called. The default is Off.
#
# ExtendedStatusディレクティブでは、"server-status" ハンドラを呼び出した際
# のサーバ情報を見るときに、どれだけの情報を表示するのか指定するものであり
# すべての情報表示する場合には On、基本的な情報のみを表示する場合には Off
# を指定します。なお、この値のデフォルト値は Off です。
#
#ExtendedStatus On
### Section 2: 'Main' server configuration
### セクション 2: メインサーバの設定
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# definition. These values also provide defaults for
# any containers you may define later in the file.
#
# このセクションのディレクティブは、サーバのメインたる設定の値を指定する
# もので、 で定義されたリクエスト以外の指定を行うものです。
# これらの設定値は 内で定義することができる値のデフォルト値
# となり、VirtualHost内で定義されるとすべて上書きされます。
#
# All of these directives may appear inside containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#
#
# If your ServerType directive (set earlier in the 'Global Environment'
# section) is set to "inetd", the next few directives don't have any
# effect since their settings are defined by the inetd configuration.
# Skip ahead to the ServerAdmin directive.
#
# もし、セクション1において ServerType ディレクティブが "inetd" にセット
# されていたとすると、いくらかのディレクティブは意味をなさないので、
# ServerAdmin ディレクティブ まで読み飛ばしてください。
#
#
#
# Port: The port to which the standalone server listens. For
# ports < 1023, you will need httpd to be run as root initially.
#
# Port: スタンドアロンモードで起動したサーバがどのポート番号を利用して
# 待ち受けを行うのかを指定します。
# なお、1023より小さいポート番号を利用する場合には、最初に root でhttpd
# を起動する必要があります。
#
Port 80 WWWはポートの80番を使用します。
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# もし、特にユーザとグループを指定して httpd を実行させる場合には、最初に
# root で httpd を起動しなければならず、そのあとで指定された権限に切り替え
# られます。
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# . On SCO (ODT 3) use "User nouser" and "Group nogroup".
# . On HPUX you may not be able to use shared memory as nobody, and the
# suggested workaround is to create a user www and use that user.
# NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
# when the value of (unsigned)Group is above 60000;
# don't use Group "#-1" on these systems!
# User/Group: それぞれ、httpdを実行する際のユーザ名・グループ名(#数字と
# することにより、IDで指定ができます)を指定します。
#
# ・SCO(ODT 3) の場合には、"User nouser" and "Group nogroup"を使用します。
# ・HPUX の場合には nobody で共有メモリを利用できないため、wwwユーザを作成
# して利用するのが良いでしょう。
#
# ※重要
# いくつかのカーネルでは、GroupのIDが60000より大きい場合に、setgid(Group
# 切り替え)や semctl(IPC_SET)を指定できません。
# また、いくつかのシステムでは、#-1 といった指定ができません。
#
#
User nobody
Group nobody
#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents.
#
# ServerAdmin: 運用管理者のメールアドレスを指定します。
# これは、エラーの際などのサーバが生成するドキュメントに付与され、CGI実行時
# の環境変数にも反映されます。
#
ServerAdmin root@ドメイン名 システム管理者のメールアドレスを入れます。
#
# ServerName allows you to set a host name which is sent back to clients for
# your server if it's different than the one the program would get (i.e., use
# "www" instead of the host's real name).
#
# ServerName: サーバからクライアントへホストの名前を返さなければならないとき
# のためにホストの名前を設定するもので、ホストに実際に付与されている名前とは
# 別のものを指定したい場合に利用します。
# 例えば、ホストの実際の名前とは別に "www" という名前を利用したい場合など使い
# ます。
#
# Note: You cannot just invent host names and hope they work. The name you
# define here must be a valid DNS name for your host. If you don't understand
# this, ask your network administrator.
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address (e.g., http://123.45.67.89/)
# anyway, and this will make redirections work in a sensible way.
#
# ※重要
# ホスト名は、DNSで有効なものでなければならず、実際にないホスト名を指定する
# ことはトラブルの元ですから、有効な名前をネットワーク管理者に聞いてください。
#
# もし、DNSに登録されているホスト名がない場合には、IPアドレスを指定してくださ
# い。そうすれば、IPアドレスでのアクセス(例えば、http://123.45.67.89/) が可
# 能になり、リダイレクトが必要な時も正しく処理が行われます。
# 例えば、ディレクトリへのアクセスの時にURIが / で終わってなければ、自動的に
# / で終わるURLへリダイレクトされますが、この時にDNSで認識できない名前が指定
# されていると、ホストが見つからないため、リダイレクトできなくなります。
#
# 127.0.0.1 is the TCP/IP local loop-back address, often named localhost. Your
# machine always knows itself by this address. If you use Apache strictly for
# local testing and development, you may use 127.0.0.1 as the server name.
#
ServerName www.ドメイン名 公開するサーバ名。
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
# DocumentRoot: クライアントに提供するドキュメントを格納しているディレクトリ
# (ドキュメントルート)を指定します。標準では、すべてのリクエストがこのディ
# レクトリによって処理されますが、シンボリックリンクやApache内部のエイリアス
# などにより、別の場所を利用することも可能です。
#
DocumentRoot "/var/lib/Apache/htdocs" ここにサーバで公開するホームページを入れます。
#
# Each directory to which Apache has access, can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# Apacheは、特定のディレクトリ(とその配下)毎に、機能を有効にしたり無効にし
# たりすることができます。
# これは、 で始まり、 までがひとつのブロック
# です。初期設定では、多くの機能を制限したものとなっています。
#
# First, we configure the "default" to be a very restrictive set of
# permissions.
#
Options FollowSymLinks
AllowOverride None
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
# ※重要
# 特定の機能を許可したければ、これより先を有効にしてください。
# もし、特に望む機能がなければ、この後に記述してください
#
#
# This should be changed to whatever you set DocumentRoot to.
#
# この部分は、ドキュメントルートに関するものですから、DocumentRoot ディレク
# ティブの設定に応じて書き直してください。
#
公開するドキュメントは/var/lib/apache/htdocsの中にあります。
#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# Optionsディレクティブでは、さまざまなオプションを指定でき、全機能を無効に
# する "None" と、MultiViews以外の全機能を有効にする "All" が指定できます。
# また、"Indexes", "Includes", "FollowSymLinks", "ExecCGI" と "MultiViews"
# の組み合わせで、一つづつ指定することも可能です。
#
Options Includes FollowSymLinks ExecCGI IncludesでSSIを許可、ExecCGIでCGIプログラムの実行許可
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
# AllowOverrideディレクティブでは、ディレクトリ内の .htaccessファイルの中に
# 記述できるディレクティブの制限を行え、.htaccess自体を読み込まない "None"
# と、.htaccessに記述可能なディレクティブをすべて有効にする "All"が指定でき
# ます。
# また、"Options","FileInfo","AuthConfig","Limit" の組み合わせで、一つづつ
# 指定することも可能です
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
# このサーバへアクセスできるホストを制御します。
#
Order allow,deny
Allow from all
#
# UserDir: The name of the directory which is appended onto a user's home
# directory if a ~user request is received.
#
# UserDir: ディレクトリ名を指定することにより、「~ユーザ名」というアクセスが
# あった場合に、そのユーザのホームディレクトリのパス名に付与され、ユーザ毎の
# アクセスを受けることが可能になります。
#
UserDir public_html
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
# UserDir ディレクトリへのアクセスを制御するもので、次の例では読み込み専用に
# 制限しています。(ウェブからプログラムを実行できない設定)
#
#
# AllowOverride FileInfo AuthConfig Limit
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
#
# Order allow,deny
# Allow from all
#
#
# Order deny,allow
# Deny from all
#
#
#
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
# DirectoryIndex: ディレクトリへのアクセス(/で終わっているファイル名のない
# アクセス)の場合に表示するファイルの名前を指定します。
# しばしば、index.html という名前が利用されますが、スペースで区切って複数の
# 名前を指定することができます
#
DirectoryIndex index.html /var/lib/Apache/htdocsはindex.htmlで始まることを宣言しています。
#
# AccessFileName: The name of the file to look for in each directory
# for access control information.
#
# AccessFileName: ディレクトリ毎の設定情報を記したファイルの名前を指定しま
# す。このファイルは慣例から .htaccess という名前が、よく利用されます。
#
AccessFileName .htaccess
#
# The following lines prevent .htaccess files from being viewed by
# Web clients. Since .htaccess files often contain authorization
# information, access is disallowed for security reasons. Comment
# these lines out if you want Web visitors to see the contents of
# .htaccess files. If you change the AccessFileName directive above,
# be sure to make the corresponding changes here.
#
# Also, folks tend to use names such as .htpasswd for password
# files, so this will protect those as well.
#
# 以下は、.htaccess ファイルなど、.ht で始まるファイルへのアクセスを制限す
# るもので、設定情報からパスワード制限やホストによる制限の詳細や、エイリア
# スなどの情報を盗まれないよう、セキュリティの観点から設定したほうが良いで
# しょう。
# なお、外部に見られたくないパスワードファイルなどは、.ht で始めることによ
# り、以下の設定の効果で防御することができます。
#
Order allow,deny
Deny from all
Satisfy All
#
# CacheNegotiatedDocs: By default, Apache sends "Pragma: no-cache" with each
# document that was negotiated on the basis of content. This asks proxy
# servers not to cache the document. Uncommenting the following line disables
# this behavior, and proxies will be allowed to cache the documents.
#
# CacheNegotiatedDocs: Apacheは、ネゴシエーションを行ったドキュメントを返す
# 際、ヘッダとして "Pragma: no-cache" を送出します。
# これは、PROXYサーバにキャッシュをしないように指示するものですが、下記の行
# のコメントをはずすことによってドキュメントをキャッシュすることを許可しま
# す。
#
#CacheNegotiatedDocs
#
# UseCanonicalName: (new for 1.3) With this setting turned on, whenever
# Apache needs to construct a self-referencing URL (a URL that refers back
# to the server the response is coming from) it will use ServerName and
# Port to form a "canonical" name. With this setting off, Apache will
# use the hostname:port that the client supplied, when possible. This
# also affects SERVER_NAME and SERVER_PORT in CGI scripts.
#
# UseCanonicalName: この設定を On にすることにより、自サーバへのURLを生成
# する必要がある際には、ServerName と Port から得た正規の名前を利用するよう
# になります。
# そして、Off にした場合、クライアントからホスト名が知らされているならば、
# その名前を利用するようになります。
# これは、CGIスクリプト内の SERVER_NAME と SERVER_PORT へ影響を及ぼします
#
UseCanonicalName On
#
# TypesConfig describes where the mime.types file (or equivalent) is
# to be found.
#
# TypesConfig: mime.typesファイル(もしくは同等のファイル)へのパス名を
# 指定します。
#
TypesConfig /var/lib/apache/conf/mime.types
#
# DefaultType is the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value.
#
# DefaultType: 標準のMIMEタイプを設定するもので、ドキュメントファイルの
# 拡張子から得られなかった場合に利用されます。
# もし、テキストファイルやHTMLドキュメントが主なコンテンツであるならば、
# "text/plain" が一番良い設定でしょう
#
# If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are
# text.
#
DefaultType text/plain
#
# The mod_mime_magic module allows the server to use various hints from the
# contents of the file itself to determine its type. The MIMEMagicFile
# directive tells the module where the hint definitions are located.
# mod_mime_magic is not part of the default server (you have to add
# it yourself with a LoadModule [see the DSO paragraph in the 'Global
# Environment' section], or recompile the server and include mod_mime_magic
# as part of the configuration), so it's enclosed in an container.
# This means that the MIMEMagicFile directive will only be processed if the
# module is part of the server.
#
# mod_mime_magicモジュールは、ファイルの内容から種々の手がかりを探して
# MIMEタイプを決定できるようになります。
# そして、MIMEMagicFileディレクティブは、その定義ファイルへのパスを指定
# するものです。
# なお、mod_mime_magic はデフォルトで組み込まれていないため、
# コンテナに囲われています。
# これにより、モジュールが含まれている場合のみ MIMEMagicFile ディレク
# ティブが処理されます。
# (モジュール組み込みには、リコンパイルをするか、LoadModuleを利用します)
#
MIMEMagicFile /var/lib/apache/conf/magic
#
# HostnameLookups: Log the names of clients or just their IP addresses
# e.g., www.apache.org (on) or 204.62.129.132 (off).
# The default is off because it'd be overall better for the net if people
# had to knowingly turn this feature on, since enabling it means that
# each client request will result in AT LEAST one lookup request to the
# nameserver.
#
# HostnameLookups: ログに、クライアントのホスト名を残すかIPアドレスを残す
# かを決定します。
# 例えば、On にすれば www.apache.org となり Off にすれば 204.62.129.132
# となります。
# なお、標準では Off になっており、Onにするとすべてのクライアントからの
# 接続に対し、いちいちネームサーバへのルックアップ要求を送出することに
# なります
#
HostnameLookups Off
#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a
# container, that host's errors will be logged there and not here.
#
# ErrorLog: エラーログのパス名を指定します。
# もし、内にErrorLogディレクティブが記述されていなければ
# バーチャルホスト毎のエラーメッセージもここに保存されますが、記述されて
# いるのならば、ここには保存されません。
#
ErrorLog /var/log/error_log Apacheのエラーログは/var/log/error_logに書かれます。
#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
# LogLevel: エラーログとして保存すべきメッセージの数を制御します。
# これには、debug, info, notice, warn, error, crit, alert, emerg のいづ
# れかを指定します。
#
LogLevel warn
#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#
# 以下のディレクティブは、CustomLogディレクティブ(事項参照)で使用する
# 行のフォーマットの定義を行うものです。
#
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
#
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a
# container, they will be logged here. Contrariwise, if you *do*
# define per- access logfiles, transactions will be
# logged therein and *not* in this file.
#
# アクセスログを保存するパス名と行のフォーマット(前項で定義したもの)を
# 指定します。
# もし、 内にこのディレクティブを指定しなければ、そのホスト
# へのアクセスログはここに保存されますが、記述されているのならば、ここ
# には保存されません。
#
CustomLog /var/lib/apache/logs/access_log common
#
# If you would like to have agent and referer logfiles, uncomment the
# following directives.
#
# もし、ブラウザと参照元のログを残すのであれば、以下のディレクティブの
# コメントをはずしてください。
#
#CustomLog /var/lib/apache/logs/referer_log referer
#CustomLog /var/lib/apache/logs/agent_log agent
#
# If you prefer a single logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#
# もし、アクセス・ブラウザ・参照元のログを一つのログファイルに残すので
# あれば(Combinedログフォーマット)、以下のディレクティブを利用してくだ
# さい。
#
#CustomLog /var/lib/apache/logs/access_log combined
#
# Optionally add a line containing the server version and virtual host
# name to server-generated pages (error documents, FTP directory listings,
# mod_status and mod_info output etc., but not CGI generated documents).
# Set to "EMail" to also include a mailto: link to the ServerAdmin.
# Set to one of: On | Off | EMail
#
# サーバが生成したページ(エラードキュメントやFTPディレクトリリスト、
# mod_status と mod_infoの出力など。ただしCGIは含まれない)に、サーバ
# バージョンやホスト名などをオプションで付加できます。
# ここで、EMail を指定すれば ServerAdminへの mailto: リンクも含められ
# ます。
# なお、値は On, Off, EMail のいづれかを指定できます。
#
ServerSignature On
# EBCDIC configuration:
# (only for mainframes using the EBCDIC codeset, currently one of:
# Fujitsu-Siemens' BS2000/OSD, IBM's OS/390 and IBM's TPF)!!
# The following default configuration assumes that "text files"
# are stored in EBCDIC (so that you can operate on them using the
# normal POSIX tools like grep and sort) while "binary files" are
# stored with identical octets as on an ASCII machine.
#
# The directives are evaluated in configuration file order, with
# the EBCDICConvert directives applied before EBCDICConvertByType.
#
# If you want to have ASCII HTML documents and EBCDIC HTML documents
# at the same time, you can use the file extension to force
# conversion off for the ASCII documents:
# > AddType text/html .ahtml
# > EBCDICConvert Off=InOut .ahtml
#
# EBCDICConvertByType On=InOut text/* message/* multipart/*
# EBCDICConvertByType On=In application/x-www-form-urlencoded
# EBCDICConvertByType On=InOut application/postscript model/vrml
# EBCDICConvertByType Off=InOut */*
#
# Aliases: Add here as many aliases as you need (with no limit). The format is
# Alias fakename realname
#
#
# Note that if you include a trailing / on fakename then the server will
# require it to be present in the URL. So "/icons" isn't aliased in this
# example, only "/icons/". If the fakename is slash-terminated, then the
# realname must also be slash terminated, and if the fakename omits the
# trailing slash, the realname must also omit it.
#
# Aliases: ディレクトリのエイリアスを指定できます。(個数の制限はあり
# ません。)
# 書式は、仮想パスと実際のパスの順番になります。
#
# ※重要
# 仮想のパスの最後に / をつけていると、URL上でも正しく記述されてないと
# いけません。
# 次の例で見てみると、"/icons" ではエイリアスされず、"/icons/〜" という
# 場合のみ有効です。
#
Alias /icons/ "/var/lib/apache/icons/"
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
# This Alias will project the on-line documentation tree under /manual/
# even if you change the DocumentRoot. Comment it if you don't want to
# provide access to the on-line documentation.
#
Alias /manual/ "/var/lib/apache/htdocs/manual/"
Options Indexes FollowSymlinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.
#
# ScriptAlias: これは、スクリプトが含まれたディレクトリを指定するもの
# で、ドキュメントをクライアントに返送する際にサーバ上のアプリケーション
# に処理されることを除けば、Aliasesと本質的に変わることはありません。
#
ScriptAlias /cgi-bin/ "/var/lib/Apache/cgi-bin/" CGIスクリプトを入れる場所。
#
# "/var/lib/apache/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
# 以下の "/var/lib/apache/cgi-bin" の部分は、環境に合わせてスクリプト
# のディレクトリを指定して下さい。
#
AllowOverride None
Options None
Order allow,deny
Allow from all
# End of aliases.
#
# Redirect allows you to tell clients about documents which used to exist in
# your server's namespace, but do not anymore. This allows you to tell the
# clients where to look for the relocated document.
# Format: Redirect old-URI new-URL
#
# Redirect: アクセスしてきたクライアントに対して新しいURLを通知し、ほかの
# URLへ再接続するように促すことができます。
# 書式は、Redirectにつづけて、リダイレクトしたいURIと新しいURLを列挙しま
# す。
#
#
# Directives controlling the display of server-generated directory listings.
#
# 次からは、サーバが生成するディレクトリリストの表示について制御するディ
# レクティブです。
#
#
# FancyIndexing is whether you want fancy directory indexing or standard
#
# FancyIndexing: ディレクトリインデックスを表示する際のオプションを指定
# します。
#
IndexOptions FancyIndexing
#
# AddIcon* directives tell the server which icon to show for different
# files or filename extensions. These are only displayed for
# FancyIndexed directories.
#
# AddIcon* ディレクティブは、いろいろなファイルやファイルの拡張子に対す
# る表示アイコンを指定します。
# これは、IndexOptionsでFancyIndexingを指定していないと有効になりません。
#
AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
AddIconByType (TXT,/icons/text.gif) text/*
AddIconByType (IMG,/icons/image2.gif) image/*
AddIconByType (SND,/icons/sound2.gif) audio/*
AddIconByType (VID,/icons/movie.gif) video/*
AddIcon /icons/binary.gif .bin .exe
AddIcon /icons/binhex.gif .hqx
AddIcon /icons/tar.gif .tar
AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
AddIcon /icons/a.gif .ps .ai .eps
AddIcon /icons/layout.gif .html .shtml .htm .pdf
AddIcon /icons/text.gif .txt
AddIcon /icons/c.gif .c
AddIcon /icons/p.gif .pl .py
AddIcon /icons/f.gif .for
AddIcon /icons/dvi.gif .dvi
AddIcon /icons/uuencoded.gif .uu
AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
AddIcon /icons/tex.gif .tex
AddIcon /icons/bomb.gif core
AddIcon /icons/back.gif ..
AddIcon /icons/hand.right.gif README
AddIcon /icons/folder.gif ^^DIRECTORY^^
AddIcon /icons/blank.gif ^^BLANKICON^^
#
# DefaultIcon is which icon to show for files which do not have an icon
# explicitly set.
#
# DefaultIcon: アイコンが特定されなかったファイルに対する標準アイコンを
# 指定します
#
DefaultIcon /icons/unknown.gif
#
# AddDescription allows you to place a short description after a file in
# server-generated indexes. These are only displayed for FancyIndexed
# directories.
# Format: AddDescription "description" filename
#
# AddDescription: リスト生成時にファイル名に並べて記述する簡単な説明を
# 指定します。
# これは、IndexOptionsでFancyIndexingを指定していないと有効になりません。
# 書式は、順に「説明」とファイル名(もしくは拡張子)を記述します
#
#AddDescription "GZIP compressed document" .gz
#AddDescription "tar archive" .tar
#AddDescription "GZIP compressed tar archive" .tgz
#
# ReadmeName is the name of the README file the server will look for by
# default, and append to directory listings.
#
# ReadmeName: 標準で表示されるべきREADMEファイルの名前を指定するもので、
# 生成されたリストの下部に追加されます
#
# HeaderName is the name of a file which should be prepended to
# directory indexes.
#
# HeaderName: 生成されたリストの上部に付加したいファイルの名前を指定
# します。
#
ReadmeName README.html
HeaderName HEADER.html
#
# IndexIgnore is a set of filenames which directory indexing should ignore
# and not include in the listing. Shell-style wildcarding is permitted.
#
# IndexIgnore: インデックスリストを生成する際に除外したいファイルの名前
# を列挙します。ここでは、シェル風のワイルドカードが指定できます。
#
IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
# End of indexing directives.
#
# Document types.
#
#
# AddLanguage allows you to specify the language of a document. You can
# then use content negotiation to give a browser a file in a language
# it can understand.
#
# AddLanguage: ブラウザの理解する言語の設定に応じて、ドキュメントの
# 言語を特定することができます
#
# Note 1: The suffix does not have to be the same as the language
# keyword --- those with documents in Polish (whose net-standard
# language code is pl) may wish to use "AddLanguage pl .po" to
# avoid the ambiguity with the common suffix for perl scripts.
#
# Note 2: The example entries below illustrate that in quite
# some cases the two character 'Language' abbreviation is not
# identical to the two character 'Country' code for its country,
# E.g. 'Danmark/dk' versus 'Danish/da'.
#
# Note 3: In the case of 'ltz' we violate the RFC by using a three char
# specifier. But there is 'work in progress' to fix this and get
# the reference data for rfc1766 cleaned up.
#
# Danish (da) - Dutch (nl) - English (en) - Estonian (ee)
# French (fr) - German (de) - Greek-Modern (el)
# Italian (it) - Korean (kr) - Norwegian (no) - Norwegian Nynorsk (nn)
# Portugese (pt) - Luxembourgeois* (ltz)
# Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cs)
# Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja)
# Russian (ru)
#
AddLanguage da .dk
AddLanguage nl .nl
AddLanguage en .en
AddLanguage et .ee
AddLanguage fr .fr
AddLanguage de .de
AddLanguage el .el
AddLanguage he .he
AddCharset ISO-8859-8 .iso8859-8
AddLanguage it .it
AddLanguage ja .ja
AddCharset ISO-2022-JP .jis
AddLanguage kr .kr
AddCharset ISO-2022-KR .iso-kr
AddLanguage nn .nn
AddLanguage no .no
AddLanguage pl .po
AddCharset ISO-8859-2 .iso-pl
AddLanguage pt .pt
AddLanguage pt-br .pt-br
AddLanguage ltz .lu
AddLanguage ca .ca
AddLanguage es .es
AddLanguage sv .sv
AddLanguage cs .cz .cs
AddLanguage ru .ru
AddLanguage zh-TW .zh-tw
AddCharset Big5 .Big5 .big5
AddCharset WINDOWS-1251 .cp-1251
AddCharset CP866 .cp866
AddCharset ISO-8859-5 .iso-ru
AddCharset KOI8-R .koi8-r
AddCharset UCS-2 .ucs2
AddCharset UCS-4 .ucs4
AddCharset UTF-8 .utf8
# LanguagePriority allows you to give precedence to some languages
# in case of a tie during content negotiation.
#
# LanguagePriority: ネゴシエーションの際に、いずれの言語を優先するかを
# 設定します。
#
# Just list the languages in decreasing order of preference. We have
# more or less alphabetized them here. You probably want to change this.
#
LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw
#
# AddType allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
#
AddType application/x-tar .tgz
#
# AddEncoding allows you to have certain browsers uncompress
# information on the fly. Note: Not all browsers support this.
# Despite the name similarity, the following Add* directives have nothing
# to do with the FancyIndexing customization directives above.
#
AddEncoding x-compress .Z
AddEncoding x-gzip .gz .tgz
#
# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
#
#AddType application/x-compress .Z
#AddType application/x-gzip .gz .tgz
#
# AddHandler allows you to map certain file extensions to "handlers",
# actions unrelated to filetype. These can be either built into the server
# or added with the Action command (see below)
#
# AddHandler: ファイルの拡張子からハンドラを指定しておき、ファイルのMIMEタイプ
# に依存しない動作の定義が行えます。
# そして、ハンドラを解釈する機能をサーバに追加するか、Actionディレクティブ(下
# 記参照)で動作を定義します。
#
# If you want to use server side includes, or CGI outside
# ScriptAliased directories, uncomment the following lines.
#
# もし、SSIを利用したい場合や、ScriptAliasされたディレクトリ外でCGIを利用したい
# のならば、次からの行のコメントをはずしてください
#
# To use CGI scripts:
#
# CGIの利用を設定します。
#
AddHandler cgi-script .cgiCGIを開放します。
#
# To use server-parsed HTML files
#
# サーバインクルード(SSI)の利用を設定します
#
AddType text/html .shtml shtmlをssi機能付きのファイルとして、サーバに認識させました。
AddHandler server-parsed .shtml
#
# Uncomment the following line to enable Apache's send-asis HTTP file
# feature
#
# Apacheの send-asis 機能の利用を設定します。
#
#AddHandler send-as-is asis
#
# If you wish to use server-parsed imagemap files, use
#
# サーバ側で処理を行うイメージマップの利用を設定します。
#
#AddHandler imap-file map
#
# To enable type maps, you might want to use
#
# タイプマップの利用を設定します。
#
#AddHandler type-map var
# End of document types.
#
# Action lets you define media types that will execute a script whenever
# a matching file is called. This eliminates the need for repeated URL
# pathnames for oft-used CGI file processors.
#
# Action: メディアの種類によって、スクリプトを実行することができます。
# 書式は、次のようになります。
#
# Format: Action media/type /cgi-script/location
# Format: Action handler-name /cgi-script/location
#
#
# MetaDir: specifies the name of the directory in which Apache can find
# meta information files. These files contain additional HTTP headers
# to include when sending the document
#
#MetaDir .web
#
# MetaSuffix: specifies the file name suffix for the file containing the
# meta information.
#
# MetaSuffix: メタ情報を格納するファイルを示す拡張子の名前を指定します。
#
#MetaSuffix .meta
#
# Customizable error response (Apache style)
# these come in three flavors
#
# エラーメッセージのカスタマイズを行うには、3種類の記述方法があります。
#
# 1) plain text
#ErrorDocument 500 "The server made a boo boo.
# n.b. the single leading (") marks it as text, it does not get output
#
# 1) 文章を表示します。
#ErrorDocument 500 "The server made a boo boo.
# 文字列の最初の (") は画面に表示されません。
#
# 2) local redirects
ErrorDocument 404 /missing.html 404 not found 用にminnsing.htmlを作成します。
# to redirect to local URL /missing.html
#ErrorDocument 404 /cgi-bin/missing_handler.pl
# N.B.: You can redirect to a script or a document using server-side-includes.
#
# 2) 内部のほかのファイルを表示します。
#ErrorDocument 404 /missing.html
# 内部の /missing.html というURIのファイルを表示します。
#ErrorDocument 404 /cgi-bin/missing_handler.pl
# スクリプトやSSIのファイルを利用することが可能です。
#
# 3) external redirects
#ErrorDocument 402 http://www.example.com/subscription_info.html
# N.B.: Many of the environment variables associated with the original
# request will *not* be available to such a script.
#
# 3) 外部のURLへリダイレクトします。
#ErrorDocument 402 http://some.other_server.com/subscription_info.html
# この場合、元々のリクエストの環境変数はリダイレクト先で利用できません
#
# Customize behaviour based on the browser
#
#
# The following directives modify normal HTTP response behavior.
# The first directive disables keepalive for Netscape 2.x and browsers that
# spoof it. There are known problems with these browser implementations.
# The second directive is for Microsoft Internet Explorer 4.0b2
# which has a broken HTTP/1.1 implementation and does not properly
# support keepalive when it is used on 301 or 302 (redirect) responses.
#
# 下記のディレクティブは、通常のHTTP応答を制限するためのものです。
# 最初のディレクティブは、Netscape 2.xとその派生ブラウザの場合にキープ
# アライブを無効化するためのもので、ブラウザの知れた問題を回避するため
# のものです。
# その次のディレクティブは、インターネットエクスプローラー4.0b2 の場合
# に、HTTP/1.1の実装の不備から301/302(リダイレクト)応答を行った際に不正
# な動作を起こすことが知られており、それを回避するものです。
#
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
#
# The following directive disables HTTP/1.1 responses to browsers which
# are in violation of the HTTP/1.0 spec by not being able to grok a
# basic 1.1 response.
#
# 下記のディレクティブは、HTTP/1.1の応答に対応できないブラウザの場合に
# HTTP/1.1 を無効にします。
#
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0
# End of browser customization directives
#
# Allow server status reports, with the URL of http://servername/server-status
# Change the ".example.com" to match your domain to enable.
#
#
# SetHandler server-status
# Order deny,allow
# Deny from all
# Allow from .example.com
#
#
# Allow remote server configuration reports, with the URL of
# http://servername/server-info (requires that mod_info.c be loaded).
# Change the ".example.com" to match your domain to enable.
#
# 遠隔サーバからサーバの動作状況を参照することを許可するもので、
# http://servername/server-info というURLにてアクセスすることが可能になり
# ます。
# ".example.com" の部分を、アクセス元のドメイン名に変更すれば有効になるで
# しょう。
#
#
# SetHandler server-info
# Order deny,allow
# Deny from all
# Allow from .example.com
#
#
# There have been reports of people trying to abuse an old bug from pre-1.1
# days. This bug involved a CGI script distributed as a part of Apache.
# By uncommenting these lines you can redirect these attacks to a logging
# script on phf.apache.org. Or, you can record them yourself, using the script
# support/phf_abuse_log.cgi.
#
# 古いApacheのセキュリティーホールに対してアタックしてきた人がいた場合に、リポート
# するようにします。
# このバグは、Apache配布ファイルの一つのCGIスクリプトのものであり、下記のコメント
# をはずすことによって、そのアタックを受けた際に Apache のサイトへリダイレクトし
# 情報を保存することができます
#
#
# Deny from all
# ErrorDocument 403 http://phf.apache.org/phf_abuse_log.cgi
#
### Section 3: Virtual Hosts
#
### セクション 3: バーチャルホスト
#
# VirtualHost: If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
#NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#
#
|