I am using Apache to serve a blog which consists of static HTML files. Currently, the blog uses a pretty standard URL structure, like this:
which maps to the file
I'd like to remove the trailing slash so that URLs like
work in the same way (and don't get redirected). Is there a way to do that with Apache?
(Note that I want URLs with the trailing slash to continue to work, as well.)
(Further note: I saw something about Apache's
DirectorySlash directive, but I don't think it does what I want...although I'm not sure about that.)