[BUGFIX] fix trailing slash rewrite in htaccess

this patch fix the trailing slash problem.

Resolves: #102
Documentation: #102
Releases: 1.2.1
Related: #102