making sure mod_rewrite enabled
More minor bugfixes. Slowly removing rtrim as we are phasing out CHARACTER DB type in favour of VARCHAR