Apache adding trailing slash when dir exists

Hi All

What is the name of the feature in apache which converts
www.mysites.com/my/dir
to
www.mysite.com/my/dir/

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

Thanks in advance

php,

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.

Regards,

DK

Thanks for the reply and for having a look.

DirectorySlash, part of the core mod_dir. ??

Mallory,

Great find! Thanks!

Regards,

DK