added some security and auto-config features to web server install script.