Remove ending "/" in Redmine folder. Some checks added.