Fixing filepath and mod_rewrite issues