Fix error with register (mod_rewrite disabled)