Apache is auto adding the trailing slash if the directory exists although i would like to know what the feature is called as it caused me a few issues as apache used the servername and not http_host. I have resolved this in apache although i’m interested to know the features name and to see if I can turn the whole feature off via
Options -FEATURENAME
I attempted a search at apache.org for the specific command which would allow/deny this capability. I couldn’t find it.
IMHO, this is an extension of the Apache core features which is similar to MultiViews (in reverse) in that, if the directory can’t be found (as a file), Apache adds the path separator (/) to the {REQUEST_URI} and looks for the directory with that name BEFORE giving up and requesting the 404 script.