Redmine-treefix is a project mainly written in Perl, it's free.
Fix a corrupt redmine tree structure
404: Not Found