You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by sl...@apache.org on 2005/04/04 20:40:42 UTC

svn commit: r160079 - in httpd/httpd/branches/simple-conf/docs/conf: extra/httpd-manual.conf.in httpd.conf.in

Author: slive
Date: Mon Apr  4 11:40:41 2005
New Revision: 160079

URL: http://svn.apache.org/viewcvs?view=rev&rev=160079
Log:
Move the config for the users manual to extra/.
Yes, this means you need to know how to edit the config
in order to learn how to edit the config.  But you already
need to know how to start and install the server before
you can get to the manual.

Most people should probably be using alternative documentation
forms anyway (online, off-browsable single-language tarballs,
windows help, etc).

Also, clean up a few comments in the extra config section.

Added:
    httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-manual.conf.in
Modified:
    httpd/httpd/branches/simple-conf/docs/conf/httpd.conf.in

Added: httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-manual.conf.in
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-manual.conf.in?view=auto&rev=160079
==============================================================================
--- httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-manual.conf.in (added)
+++ httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-manual.conf.in Mon Apr  4 11:40:41 2005
@@ -0,0 +1,27 @@
+#
+# Provide access to the documentation on your server as
+#  http://yourserver.example.com/manual/
+# The documentation is always available at
+#  http://httpd.apache.org/docs-2.1/
+#
+# Required modules: mod_alias, mod_setenvif, mod_negotiation
+#
+
+AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "@exp_manualdir@$1"
+
+<Directory "@exp_manualdir@">
+    Options Indexes
+    AllowOverride None
+    Order allow,deny
+    Allow from all
+
+    <Files *.html>
+        SetHandler type-map
+    </Files>
+
+    SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1
+    RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2
+
+    LanguagePriority en de es fr ja ko pt-br ru 
+    ForceLanguagePriority Prefer Fallback
+</Directory>

Modified: httpd/httpd/branches/simple-conf/docs/conf/httpd.conf.in
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/simple-conf/docs/conf/httpd.conf.in?view=diff&r1=160078&r2=160079
==============================================================================
--- httpd/httpd/branches/simple-conf/docs/conf/httpd.conf.in (original)
+++ httpd/httpd/branches/simple-conf/docs/conf/httpd.conf.in Mon Apr  4 11:40:41 2005
@@ -319,32 +319,6 @@
     # the filesystem path.
 
     #
-    # This should be changed to the ServerRoot/manual/.  The alias provides
-    # 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|es|fr|ja|ko|pt-br|ru))?(/.*)?$ \
-        "@exp_manualdir@$1"
-
-    <Directory "@exp_manualdir@">
-        Options Indexes
-        AllowOverride None
-        Order allow,deny
-        Allow from all
-
-        <Files *.html>
-            SetHandler type-map
-        </Files>
-
-        SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1
-        RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2
-
-        LanguagePriority en de es fr ja ko pt-br ru 
-        ForceLanguagePriority Prefer Fallback
-
-    </Directory>
-
-    #
     # ScriptAlias: This controls which directories contain server scripts. 
     # ScriptAliases are essentially the same as Aliases, except that
     # documents in the realname directory are treated as applications and
@@ -480,33 +454,38 @@
 ### Section 3: Supplemental configuration
 #
 # The configuration files in the @rel_sysconfdir@/extra/ directory can be included
-# to add extra features, or you may simply copy their contents
-# here and change as necessary.
+# to add extra features or modify the default configuration of the server, 
+# or you may simply copy their contents here and change as necessary.
 
 # Server-Pool Size Regulation (MPM specific)
-# Include @rel_sysconfdir@/extra/httpd-mpm.conf
+#Include @rel_sysconfdir@/extra/httpd-mpm.conf
 
 # Multi-language error messages
-# Include @rel_sysconfdir@/extra/httpd-multilang-error.conf
+#Include @rel_sysconfdir@/extra/httpd-multilang-error.conf
 
 # Fancy directory listings
-# Include @rel_sysconfdir@/extra/httpd-autoindex.conf
+#Include @rel_sysconfdir@/extra/httpd-autoindex.conf
 
 # Language settings
-# Include @rel_sysconfdir@/extra/httpd-languages.conf
+#Include @rel_sysconfdir@/extra/httpd-languages.conf
 
 # User home directories
-# Include @rel_sysconfdir@/extra/httpd-userdir.conf
+#Include @rel_sysconfdir@/extra/httpd-userdir.conf
 
 # Real-time info on requests and configuration
-# Include @rel_sysconfdir@/extra/httpd-info.conf
+#Include @rel_sysconfdir@/extra/httpd-info.conf
 
 # Virtual hosts
-# Include @rel_sysconfdir@/extra/httpd-vhosts.conf
+#Include @rel_sysconfdir@/extra/httpd-vhosts.conf
+
+# Local access to the Apache HTTP Server Manual
+#Include @rel_sysconfdir@/extra/httpd-manual.conf
+
+# Various default settings
+#Include @rel_sysconfdir@/extra/httpd-default.conf
 
-#
 # Secure (SSL/TLS) connections
-# Include @rel_sysconfdir@/extra/httpd-ssl.conf
+#Include @rel_sysconfdir@/extra/httpd-ssl.conf
 #
 # Note: The following must must be present to support
 #       starting without SSL on platforms with no /dev/random equivalent