Writing a little CMS.
http://mydomain.com/(somefolder)/ should become
http://mydomain.com/(somefolder)/filename
and
http://mydomain.com/(somefolder)/(somefolder2)/ should become
http://mydomain.com/(somefolder)/(somefolder2)/filename
and so on recursively. If recursion is too involved, I'd be happy with the two example directory levels.
filename is some fixed string I'll type into .htaccess when I decide what it should be :)
A bonus would be if I can save one redirect if the directory url is lacking a trailing /. Possible?