common config of web server