Apache 比較 section3
Windows用のhttpd2.2.15をhttp://archive.apache.org/dist/httpd/binaries/win32/ から httpd-2.2.15-win32-x86-no_ssl.msi をダウンロード、Typical モード(一般的なモード)でインストールをして、 CenOS5 系の httpd2.2.3 と比較してみました。■ で塗りつぶされている場所は設定項目がない箇所です。
※ Windows用のhttpd2.2.15 と CenOS5 系の httpd2.2.3 では内容の構造及び書き方が違っていますので、完全な比較ができませんでした。
参考程度にご覧ください。
2010年7月2日(金)
Section 3: Virtual Hosts | |
Windows httpd2.2.15 | CenOS5 系 httpd2.2.3 |
行頭の部分は概要であり、設定項目はない。 | |
### Section 3: Virtual Hosts # # 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 # <URL:http://httpd.apache.org/docs/2.2/vhosts/> # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. |
|
Windows httpd2.2.15 | CenOS5 系 httpd2.2.3 |
VirtualHost (バーチャルホストの具体的な設定) | |
|
# # Use name-based virtual hosting. # #NameVirtualHost *:80 # # NOTE: NameVirtualHost cannot be used without a port specifier # (e.g. :80) if mod_ssl is being used, due to the nature of the # SSL protocol. # # # 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. # #<VirtualHost *:80> # 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 #</VirtualHost> |
« 前のページへ戻る | section1 へ » |