Just a note...took me a l-o-o-o-ng time to find apr_filepath_name_get(). I was looking under the Filepath Manipulation Functions module for something like it and not finding anything. apr_filepath_root() looked like it might be what I wanted, but it wasn't. Finally I found apr_filepath_name_get() way over under General Purpose Library Functions. Mucho Confoozled, I was. Better now. You might want to alter the doc a hair to make it easier to find this one.
mma