From 78962f8e3dd466ff7acd35e0f817bb3451fb3d04 Mon Sep 17 00:00:00 2001 From: Penny Leach Date: Mon, 29 May 2006 21:33:41 +1200 Subject: [PATCH] slight change to htaccess template. exorsus has directory index and php_value turned off, added maint 403 --- .htaccess | 1 + include/tpl/htaccess_rewrite.tpl | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.htaccess b/.htaccess index 4a07b27..5664eff 100644 --- a/.htaccess +++ b/.htaccess @@ -1,5 +1,6 @@ # BEGIN s9y ErrorDocument 404 /index.php +ErrorDocument 403 /maint.txt DirectoryIndex /index.php php_value session.use_trans_sid 0 php_value register_globals off diff --git a/include/tpl/htaccess_rewrite.tpl b/include/tpl/htaccess_rewrite.tpl index 0fb2b7b..dd4d492 100644 --- a/include/tpl/htaccess_rewrite.tpl +++ b/include/tpl/htaccess_rewrite.tpl @@ -1,8 +1,9 @@ # BEGIN s9y ErrorDocument 404 {PREFIX}{indexFile} -DirectoryIndex {PREFIX}{indexFile} -php_value session.use_trans_sid 0 -php_value register_globals off +ErrorDocument 403 {PREFIX}maint.txt +# DirectoryIndex {PREFIX}{indexFile} +# php_value session.use_trans_sid 0 +# php_value register_globals off RewriteEngine On RewriteBase {PREFIX} -- 2.39.5