From 313e336525fa923002095ef1858b1f29df8da7af Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Mon, 13 Aug 2007 12:01:27 -0400 Subject: [PATCH] Added http error and standard index pages, enhanced apache module, added daily cron script --- server/conf/vhost.conf.master | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/server/conf/vhost.conf.master b/server/conf/vhost.conf.master index ef9937b..e32edd7 100644 --- a/server/conf/vhost.conf.master +++ b/server/conf/vhost.conf.master @@ -3,6 +3,16 @@ <VirtualHost <tmpl_var name='ip_address'>:80> DocumentRoot <tmpl_var name='web_document_root'> ServerName <tmpl_var name='domain'> + ServerAdmin webmaster@<tmpl_var name='domain'> + ErrorLog <tmpl_var name='document_root'>/log/error.log + + ErrorDocument 400 /error/invalidSyntax.html + ErrorDocument 401 /error/authorizationRequired.html + ErrorDocument 403 /error/forbidden.html + ErrorDocument 404 /error/fileNotFound.html + ErrorDocument 405 /error/methodNotAllowed.html + ErrorDocument 500 /error/internalServerError.html + ErrorDocument 503 /error/overloaded.html <tmpl_if name='alias'> ServerAlias <tmpl_var name='alias'> -- Gitblit v1.9.1