fixing web-base and updating config.php sample