update settings to allow deployment on Apache HTTP + mod_wsgi