Any objection to the following default config change (for 2.0 only)?

This configuration seems more idiot-proof and would eliminate a huge chunk
of newbie "why can't I access a directory without a trailing slash"
questions.

I'm posting here before committing because I don't know if there may be some
subtle security or other issue that has prevented this change from being
made long ago.

Joshua.

Index: httpd-std.conf
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/conf/httpd-std.conf,v
retrieving revision 1.79
diff -u -d -b -r1.79 httpd-std.conf
--- httpd-std.conf      25 Jan 2002 00:24:47 -0000      1.79
+++ httpd-std.conf      12 Feb 2002 20:07:55 -0000
@@ -384,14 +384,13 @@
 </Files>

 #
-# UseCanonicalName:  With this setting turned on, whenever Apache needs
-# to construct a self-referencing URL (a URL that refers back to the
-# server the response is coming from) it will use ServerName to form
-# a "canonical" name.  With this setting off, Apache will use the
-# hostname:port that the client supplied, when possible.  This also
-# affects SERVER_NAME and SERVER_PORT in CGI scripts.
+# UseCanonicalName: Determines how Apache constructs self-referencing
+# URLs and the SERVER_NAME and SERVER_PORT variables.
+# When set "Off", Apache will use the Hostname and Port supplied
+# by the client.  When set "On", Apache will use the value of the
+# ServerName directive.
 #
-UseCanonicalName On
+UseCanonicalName Off

 #
 # TypesConfig describes where the mime.types file (or equivalent) is

Reply via email to