|
# tar xvzf apache_1.3.27.tar.gz # cd apache_1.3.27 # ./configure # make # make installこれで Apacheのインストールは完了です。
# cat /etc/man.config # This file is also read by man in order to find how to call nroff, less, etc., # and to determine the correspondence between extensions and decompressors. # # MANBIN /usr/local/bin/man # # Every automatically generated MANPATH includes these fields # MANPATH /usr/man MANPATH /usr/local/man MANPATH /usr/X11R6/man MANPATH /usr/lib/perl5/man MANPATH /usr/local/apache/man
# # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. # <Directory /home/*/public_html> AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> <LimitExcept GET POST OPTIONS PROPFIND> Order deny,allow Deny from all </LimitExcept> </Directory> <Directory "/home/hiroshi/public_html"> AllowOverride FileInfo AuthConfig Limit Options MultiViews SymLinksIfOwnerMatch Includes ExecCGI <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> <LimitExcept GET POST OPTIONS PROPFIND> Order deny,allow Deny from all </LimitExcept> </Directory>設定にある Options のパラメータの意味は次の通りです。
# # 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) # # If you want to use server side includes, or CGI outside # ScriptAliased directories, uncomment the following lines. # # To use CGI scripts: # AddHandler cgi-script .cgi AddHandler cgi-script .pl
# # To use server-parsed HTML files # AddType text/html .shtml AddType text/html .html AddHandler server-parsed .shtml AddHandler server-parsed .html
# cd /usr/local/apache # mv htdocs/ htdocs_old/ # ln -s /home/hiroshi/public_html/ 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 MultiViews SymLinksIfOwnerMatch Includes ExecCGI