--- source/httpd.conf.php Tue Mar 9 23:42:35 2004 +++ source/httpd.conf Sat Apr 3 23:42:12 2004 @@ -233,7 +233,7 @@ LoadModule auth_module libexec/apache2/mod_auth.so LoadModule auth_anon_module libexec/apache2/mod_auth_anon.so LoadModule auth_dbm_module libexec/apache2/mod_auth_dbm.so -#LoadModule auth_digest_module libexec/apache2/mod_auth_digest.so +LoadModule auth_digest_module libexec/apache2/mod_auth_digest.so #LoadModule file_cache_module libexec/apache2/mod_file_cache.so LoadModule charset_lite_module libexec/apache2/mod_charset_lite.so #LoadModule cache_module libexec/apache2/mod_cache.so @@ -320,7 +320,7 @@ # e-mailed. This address appears on some server-generated pages, such # as error documents. e.g. admin@your-domain.com # -ServerAdmin you@example.com +#ServerAdmin you@example.com # # ServerName gives the name and port that the server uses to identify itself. @@ -343,14 +343,16 @@ # by the client. When set "On", Apache will use the value of the # ServerName directive. # -UseCanonicalName Off +#UseCanonicalName Off +UseCanonicalName On # # 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 "/usr/local/www/data" +#DocumentRoot "/usr/local/www/data" +DocumentRoot "/home/httpd/htdocs" # # Each directory to which Apache has access can be configured with respect @@ -375,7 +377,8 @@ # # This should be changed to whatever you set DocumentRoot to. # - +# + # # Possible values for the Options directive are "None", "All", @@ -419,6 +422,8 @@ # # AllowOverride FileInfo AuthConfig Limit Indexes # Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec +#AllowOverride AuthConfig Indexes +#Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec # # Order allow,deny # Allow from all @@ -437,7 +442,8 @@ # negotiated documents. The MultiViews Option can be used for the # same purpose, but it is much slower. # -DirectoryIndex index.html index.html.var +#DirectoryIndex index.html index.html.var +DirectoryIndex index.html index.htm index.php index.html.var # # AccessFileName: The name of the file to look for in each directory @@ -517,7 +523,8 @@ # logged here. If you *do* define an error logfile for a # container, that host's errors will be logged there and not here. # -ErrorLog /var/log/httpd-error.log +#ErrorLog /var/log/httpd-error.log +ErrorLog "|/usr/local/sbin/cronolog /var/log/httpd/%Y/%Y-%m-error_log" # # LogLevel: Control the number of messages logged to the error_log. @@ -558,7 +565,8 @@ # If you prefer a single logfile with access, agent, and referer information # (Combined Logfile Format) you can use the following directive. # -CustomLog /var/log/httpd-access.log combined +#CustomLog /var/log/httpd-access.log combined +CustomLog "|/usr/local/sbin/cronolog /var/log/httpd/%Y/reppep-%Y-%m-access_log" combined # # ServerTokens @@ -607,26 +615,26 @@ # the manual, even if you choose to move your DocumentRoot. You may comment # this out if you do not care for the documentation. # -AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "/usr/local/share/doc/apache2$1" +#AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "/usr/local/share/doc/apache2$1" - - Options Indexes - AllowOverride None - Order allow,deny - Allow from all - - - SetHandler type-map - - - SetEnvIf Request_URI ^/manual/de/ prefer-language=de - SetEnvIf Request_URI ^/manual/en/ prefer-language=en - SetEnvIf Request_URI ^/manual/fr/ prefer-language=fr - SetEnvIf Request_URI ^/manual/ja/ prefer-language=ja - SetEnvIf Request_URI ^/manual/ko/ prefer-language=ko - SetEnvIf Request_URI ^/manual/ru/ prefer-language=ru - RedirectMatch 301 ^/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2 - +# +# Options Indexes +# AllowOverride None +# Order allow,deny +# Allow from all + +# +# SetHandler type-map +# + +# SetEnvIf Request_URI ^/manual/de/ prefer-language=de +# SetEnvIf Request_URI ^/manual/en/ prefer-language=en +# SetEnvIf Request_URI ^/manual/fr/ prefer-language=fr +# SetEnvIf Request_URI ^/manual/ja/ prefer-language=ja +# SetEnvIf Request_URI ^/manual/ko/ prefer-language=ko +# SetEnvIf Request_URI ^/manual/ru/ prefer-language=ru +# RedirectMatch 301 ^/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2 +# # # ScriptAlias: This controls which directories contain server scripts. @@ -636,7 +644,8 @@ # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # -ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/" +#ScriptAlias /cgi-bin/ "/usr/local/www/cgi-bin/" +#ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/" # @@ -883,6 +892,12 @@ # file mime.types for specific file types. # #AddType application/x-tar .tgz + +AddType image/x-icon .ico + +AddType application/x-httpd-php .php +AddType application/x-httpd-php-source .phps + # # AddEncoding allows you to have certain browsers uncompress # information on the fly. Note: Not all browsers support this. @@ -1033,24 +1048,24 @@ # 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 -# + + SetHandler server-status + Order deny,allow + Deny from all +Allow from 127.0.0.1 + # # 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. # -# -# SetHandler server-info -# Order deny,allow -# Deny from all -# Allow from .example.com -# + + SetHandler server-info + Order deny,allow + Deny from all +Allow from 127.0.0.1 + # @@ -1093,3 +1108,7 @@ # ErrorLog /var/log/dummy-host.example.com-error_log # CustomLog /var/log/dummy-host.example.com-access_log common # + +Include etc/apache2/vhost.conf + +Alias /mail /usr/local/www/squirrelmail