diff options
Diffstat (limited to 'www/apache20/files/patch-docs:conf:httpd-std.conf')
-rw-r--r-- | www/apache20/files/patch-docs:conf:httpd-std.conf | 173 |
1 files changed, 66 insertions, 107 deletions
diff --git a/www/apache20/files/patch-docs:conf:httpd-std.conf b/www/apache20/files/patch-docs:conf:httpd-std.conf index 928bc48b70d4..eb63c30ac79a 100644 --- a/www/apache20/files/patch-docs:conf:httpd-std.conf +++ b/www/apache20/files/patch-docs:conf:httpd-std.conf @@ -1,53 +1,24 @@ ---- docs/conf/httpd-std.conf.orig Mon Mar 26 01:54:48 2001 -+++ docs/conf/httpd-std.conf Tue Oct 23 17:12:59 2001 +--- docs/conf/httpd-std.conf.orig Fri Nov 9 07:31:28 2001 ++++ docs/conf/httpd-std.conf Sat Nov 17 01:49:29 2001 @@ -64,7 +64,7 @@ - # PidFile: The file in which the server should record its process - # identification number when it starts. - # --PidFile logs/httpd.pid -+PidFile /var/run/httpd.pid - - # - # ScoreBoardFile: File used to store internal server process information. -@@ -73,7 +73,7 @@ - # no two invocations of Apache share the same scoreboard file. # + <IfModule !mpm_winnt.c> <IfModule !perchild.c> -ScoreBoardFile logs/apache_runtime_status +ScoreBoardFile /var/run/apache_runtime_status </IfModule> + </IfModule> + +@@ -73,7 +73,7 @@ + # PidFile: The file in which the server should record its process + # identification number when it starts. + # +-PidFile logs/httpd.pid ++PidFile /var/run/httpd.pid # -@@ -182,6 +182,28 @@ - # - # Example: - # LoadModule foo_module modules/mod_foo.so -+#LoadModule auth_anon_module libexec/apache/mod_auth_anon.so -+#LoadModule auth_db_module libexec/apache/mod_auth_db.so -+#LoadModule auth_digest_module libexec/apache/mod_auth_digest.so -+#LoadModule cern_meta_module libexec/apache/mod_cern_meta.so -+#LoadModule cgid_module libexec/apache/mod_cgid.so -+#LoadModule dav_module libexec/apache/mod_dav.so -+#LoadModule dav_fs_module libexec/apache/mod_dav_fs.so -+#LoadModule digest_module libexec/apache/mod_digest.so -+#LoadModule expires_module libexec/apache/mod_expires.so -+#LoadModule file_cache_module libexec/apache/mod_file_cache.so -+#LoadModule headers_module libexec/apache/mod_headers.so -+#LoadModule imap_module libexec/apache/mod_imap.so -+#LoadModule include_module libexec/apache/mod_include.so -+#LoadModule info_module libexec/apache/mod_info.so -+#LoadModule mime_magic_module libexec/apache/mod_mime_magic.so -+#LoadModule optional_fn_export_module libexec/apache/mod_optional_fn_export.so -+#LoadModule optional_fn_import_module libexec/apache/mod_optional_fn_import.so -+#LoadModule rewrite_module libexec/apache/mod_rewrite.so -+#LoadModule speling_module libexec/apache/mod_speling.so -+#LoadModule status_module libexec/apache/mod_status.so -+#LoadModule unique_id_module libexec/apache/mod_unique_id.so -+#LoadModule usertrack_module libexec/apache/mod_usertrack.so - - ### Section 2: 'Main' server configuration - # -@@ -220,8 +242,8 @@ + # Timeout: The number of seconds before receives and sends time out. +@@ -229,8 +229,8 @@ # when the value of (unsigned)Group is above 60000; # don't use Group #-1 on these systems! # @@ -55,10 +26,10 @@ -Group #-1 +User www +Group www + </IfModule> # - # ServerAdmin: Your address, where problems with the server should be -@@ -249,7 +271,7 @@ +@@ -259,7 +259,7 @@ # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # @@ -67,7 +38,7 @@ # # Each directory to which Apache has access, can be configured with respect -@@ -274,7 +296,7 @@ +@@ -284,7 +284,7 @@ # # This should be changed to whatever you set DocumentRoot to. # @@ -76,31 +47,7 @@ # # This may also be "None", "All", or any combination of "Indexes", -@@ -326,7 +348,22 @@ - # DirectoryIndex: Name of the file or files to use as a pre-written HTML - # directory index. Separate multiple entries with spaces. - # --DirectoryIndex index.html -+<IfModule mod_php3.c> -+ <IfModule mod_php4.c> -+ DirectoryIndex index.php index.php3 index.html -+ </IfModule> -+ <IfModule !mod_php4.c> -+ DirectoryIndex index.php3 index.html -+ </IfModule> -+</IfModule> -+<IfModule !mod_php3.c> -+ <IfModule mod_php4.c> -+ DirectoryIndex index.php index.html -+ </IfModule> -+ <IfModule !mod_php4.c> -+ DirectoryIndex index.html -+ </IfModule> -+</IfModule> - - # - # AccessFileName: The name of the file to look for in each directory -@@ -372,7 +409,7 @@ +@@ -377,7 +377,7 @@ # TypesConfig describes where the mime.types file (or equivalent) is # to be found. # @@ -109,8 +56,8 @@ # # DefaultType is the default MIME type the server will use for a document -@@ -397,7 +434,7 @@ - # module is part of the server. +@@ -396,7 +396,7 @@ + # directive tells the module where the hint definitions are located. # <IfModule mod_mime_magic.c> - MIMEMagicFile conf/magic @@ -118,7 +65,7 @@ </IfModule> # -@@ -417,7 +454,7 @@ +@@ -416,7 +416,7 @@ # logged here. If you *do* define an error logfile for a <VirtualHost> # container, that host's errors will be logged there and not here. # @@ -127,7 +74,7 @@ # # LogLevel: Control the number of messages logged to the error_log. -@@ -442,7 +479,7 @@ +@@ -441,7 +441,7 @@ # define per-<VirtualHost> access logfiles, transactions will be # logged therein and *not* in this file. # @@ -136,7 +83,7 @@ # # If you would like to have agent and referer logfiles, uncomment the -@@ -455,7 +492,7 @@ +@@ -454,7 +454,7 @@ # If you prefer a single logfile with access, agent, and referer information # (Combined Logfile Format) you can use the following directive. # @@ -145,9 +92,9 @@ # # Optionally add a line containing the server version and virtual host -@@ -474,9 +511,9 @@ - # require it to be present in the URL. So "/icons" isn't aliased in this - # example, only "/icons/".. +@@ -478,9 +478,9 @@ + # We include the /icons/ alias for FancyIndexed directory listings. If you + # do not use FancyIndexing, you may comment this out. # -Alias /icons/ "@@ServerRoot@@/icons/" +Alias /icons/ "@@ServerRoot@@/www/icons/" @@ -157,7 +104,19 @@ Options Indexes MultiViews AllowOverride None Order allow,deny -@@ -491,7 +528,7 @@ +@@ -492,9 +492,9 @@ + # the manual, even if you choose to move your DocumentRoot. You may comment + # this out if you do not care for the documentation. + # +-Alias /manual "@@ServerRoot@@/manual" ++Alias /manual "@@ServerRoot@@/share/doc/apache" + +-<Directory "@@ServerRoot@@/manual"> ++<Directory "@@ServerRoot@@/share/doc/apache"> + Options Indexes FollowSymLinks MultiViews + AllowOverride None + Order allow,deny +@@ -509,21 +509,21 @@ # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # @@ -166,7 +125,14 @@ <IfModule mod_cgid.c> # -@@ -505,7 +542,7 @@ + # Additional to mod_cgid.c settings, mod_cgid has Scriptsock <path> + # for setting UNIX socket for communicating with cgid. + # +-#Scriptsock logs/cgisock ++Scriptsock /var/run/cgisock + </IfModule> + + # # "@@ServerRoot@@/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # @@ -175,31 +141,24 @@ AllowOverride None Options None Order allow,deny -@@ -657,6 +694,7 @@ - AddLanguage ja .ja - AddLanguage pl .po - AddLanguage kr .kr -+AddLanguage ko .kr - AddLanguage pt .pt - AddLanguage no .no - AddLanguage pt-br .pt-br -@@ -741,8 +779,17 @@ - # For example, the PHP3 module (not part of the Apache distribution - see - # http://www.php.net) will typically use: - # --#AddType application/x-httpd-php3 .php3 --#AddType application/x-httpd-php3-source .phps -+<IfModule mod_php3.c> -+ AddType application/x-httpd-php3 .php3 -+ AddType application/x-httpd-php3-source .php3s -+</IfModule> -+# -+# And for PHP 4.x, use: -+# -+<IfModule mod_php4.c> -+ AddType application/x-httpd-php .php -+ AddType application/x-httpd-php-source .phps -+</IfModule> - - AddType application/x-tar .tgz +@@ -851,9 +851,9 @@ + # + + <IfModule mod_include.c> +- Alias /error/ "@@ServerRoot@@/error/" ++ Alias /error/ "@@ServerRoot@@/www/error/" + +- <Directory "@@ServerRoot@@/error"> ++ <Directory "@@ServerRoot@@/www/error"> + AllowOverride None + Options IncludesNoExec + AddOutputFilter Includes html +@@ -964,7 +964,7 @@ + # Bring in additional module-specific configurations + # + <IfModule mod_ssl.c> +- Include conf/ssl.conf ++ Include etc/apache/ssl.conf + </IfModule> + |