1 Answer
1

This will happen because you are removing the tailing slash and then expecting it to be added for directories, I don't think this will work and the work around would be to remove everything referring to adding a slash and use mod_autoindex.html

That way you can have /directory/index.html that will be processed without the tailing slash so this would look like /directory and still list your files as directory view. Quick and easy work around while maintaining the same URL structor of the rest of the site.