Apache の設定例

### ハイパー日記システム Version 2.10

# Apache の設定例

ローカル・ユーザを高度に信頼できる環境での TurboLinux 6.0 での Apache の httpd.conf の設定例です。

    --- httpd.conf  Mon Oct  2 19:58:47 2000
    +++ httpd.conf.orig      Tue May 16 20:16:03 2000
    @@ -370,7 +370,7 @@
     # 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.
     #
    -ServerName www.foo.bar.jp
    +#ServerName localhost

     #
     # DocumentRoot: The directory out of which you will serve your
    @@ -418,7 +418,7 @@
     # override. Can also be "All", or any combination of "Options", "FileInfo",
     # "AuthConfig", and "Limit"
     #
    -    AllowOverride ALL
    +    AllowOverride None

     #
     # Controls who can get stuff from this server.
    @@ -439,18 +439,18 @@
     # 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 ALL
    -    Options ExecCGI MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    -    <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/*/public_html>
    +#    AllowOverride FileInfo AuthConfig Limit
    +#    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    +#    <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>

     #
     # DirectoryIndex: Name of the file or files to use as a pre-written HTML
    @@ -831,7 +831,7 @@
         #
         # To use CGI scripts:
         #
    -    AddHandler cgi-script .cgi
    +    #AddHandler cgi-script .cgi

         #
         # To use server-parsed HTML files

### ハイパー日記システム Version 2.10

Index