Fix writing of WEBROOT_DIR_APP
Fix writing of favicon redirect