Startup fixes when mod_rewrite is not enabled
Fixed installation issues