# # Sample configuration file for cern_httpd for running it # as a normal HTTP server. # # See: # # # for more information. # # Written by: # Ari Luotonen April 1994 # # # Set this to point to the directory where you unpacked this # distribution, or wherever you want httpd to have its "home" # ServerRoot /usr/local/www # サーバのルートディレクトリです。 ServerType StandAlone # InetdとStandAloneの指定が出来ますが、StandAloneの方が速度が速いです。 # # The default port for HTTP is 80; if you are not root you have # to use a port above 1024; good defaults are 8000, 8001, 8080 # Port 80 # # General setup; on some systems, like HP, nobody is defined so # that setuid() fails; in those cases use a different user id. # UserId nobody GroupId nogroup # 実行時のユーザIDとグループIDです。 # # User-supported directories under ~/public_html # Welcome index.html # ファイル名が指定されなかった時に検索するファイルです。 AlwaysWelcome Off # onにすると、URLの指定の最後に/が無い場合、/を補間してファイルを捜します。 UserDir public_html # ユーザがhtmlを置くディレクトリです。 # # Logging; if you want logging uncomment these lines and specify # locations for your access and error logs # AccessLog /usr/local/www/log/httpd-log ErrorLog /usr/local/www/log/error-log # ログを記録するファイルです。 LogFormat Common LogTime LocalTime # # Scripts; URLs starting with /cgi-bin/ will be understood as # script calls in the directory /your/script/directory # Exec /cgi-bin/* /usr/local/www/cgi-bin/* Exec /~*/cgi-bin/* /home/*/public_html/cgi-bin/* # cgiで使うスクリプトを置くディレクトリです。 # 例えば、/cgi-bin/*と指定すると、/usr/local/www/cgi-bin/*が実行されます。 # # URL translation rules; If your documents are under /local/Web # then this single rule does the job: # Pass /* /usr/local/www/httpd_data/* # /*と指定すると、/usr/local/www/httpd_data/*を検索します。 # Icons In The Directory Listings. DirShowIcons On # DirectoryのListingの時に、アイコンを表示します。