From: Eric Covener /home///foo is the same as
- /home/foo). In URL-space this is not necessarily true.
+ /home/foo). In URL-space this is not necessarily true if
+ directive MergeSlashes has been set
+ to "OFF".
The <LocationMatch>
directive and the regex version of <Location> require you to explicitly specify multiple
- slashes if that is your intention.
For example, The slash character has special meaning depending on where in a
URL it appears. People may be used to its behavior in the filesystem
where multiple adjacent slashes are frequently collapsed to a single
slash (i.e., For example,
+ When set to "OFF", regular expressions used in the configuration file that match
the path component of the URL ( You only need to set the protocol if you are running on non-standard ports;
- otherwise, This directive not required for most
+ configurations. If not specified, For example, if you are running mod_status with If Apache httpd is handling If Apache httpd is handling <LocationMatch "^/abc"> would match
the request URL /abc but not the request URL
@@ -3209,15 +3211,17 @@ matching URLs
</LocationMatch>
- Note about / (slash)
+ Note about / (slash)
/home///foo is the same as
- /home/foo). In URL-space this is not necessarily true.
+ /home/foo). In URL-space this is not necessarily true if
+ directive MergeSlashes has been set
+ to "OFF".
The <LocationMatch>
directive and the regex version of <Location> require you to explicitly specify multiple
- slashes if that is your intention.<LocationMatch "^/abc"> would match
the request URL /abc but not the request URL
@@ -3643,11 +3647,13 @@ resource
significant. However, URL's handled other ways, such as by CGI or proxy,
might prefer to retain the significance of multiple consecutive slashes.
In these cases MergeSlashes can be set to
- OFF to retain the multiple consecutive slashes. In these
- configurations, regular expressions used in the configuration file that match
+ OFF to retain the multiple consecutive slashes, which is the legacy behavior.LocationMatch,
RewriteRule, ...) need to take into account multiple
- consecutive slashes.Location always
+ operate against a URL with merged slashes and cannot differentiate between multiple slashes.
AcceptFilter
directive.
-
- http is assumed for port 80 and https
- for port 443.https is the default for
+ port 443 and http the default for all other ports. The
+ protocol is used to determine which module should handle a request, and
+ to apply protocol specific optimizations with the
+ AcceptFilter directive.https on a non-standard port,
specify the protocol explicitly:Status: Core
- Module: core ExtendedStatus On
+ mod_status with ExtendedStatus On
displays the actual request being handled.
For historical purposes, only 63 characters of the request
are actually stored for display purposes. This directive
- controls whether the 1st 63 characters are stored (the previous
+ controls whether the first 63 characters are stored (the previous
behavior and the default) or if the last 63 characters are. This
is only applicable, of course, if the length of the request is
64 characters or greater.GET /disk1/storage/apache/htdocs/images/imagestore1/food/apples.jpg HTTP/1.1 mod_status displays as follows:
+ GET /disk1/storage/apache/htdocs/images/imagestore1/food/apples.jpg HTTP/1.1 mod_status displays as follows:
@@ -5383,7 +5392,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/trunk/mod/core.html';
}
})(window, document);
//-->