From: garvinhicking Date: Mon, 19 Sep 2005 15:14:02 +0000 (+0000) Subject: Also deniy *.tpl.php X-Git-Tag: 0.9~137 X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=644f97fb0a511f556f659679164b5b98f896a723;p=s9y.git Also deniy *.tpl.php --- diff --git a/include/tpl/htaccess_cgi_errordocs.tpl b/include/tpl/htaccess_cgi_errordocs.tpl index c69a7d1..1895514 100644 --- a/include/tpl/htaccess_cgi_errordocs.tpl +++ b/include/tpl/htaccess_cgi_errordocs.tpl @@ -2,6 +2,10 @@ ErrorDocument 404 {PREFIX}{indexFile} DirectoryIndex {PREFIX}{indexFile} + + deny from all + + deny from all diff --git a/include/tpl/htaccess_cgi_normal.tpl b/include/tpl/htaccess_cgi_normal.tpl index 85a6a75..8e5b3bc 100644 --- a/include/tpl/htaccess_cgi_normal.tpl +++ b/include/tpl/htaccess_cgi_normal.tpl @@ -1,5 +1,10 @@ # BEGIN s9y DirectoryIndex {PREFIX}{indexFile} + + + deny from all + + deny from all diff --git a/include/tpl/htaccess_cgi_rewrite.tpl b/include/tpl/htaccess_cgi_rewrite.tpl index 603ac61..6b4bd3e 100644 --- a/include/tpl/htaccess_cgi_rewrite.tpl +++ b/include/tpl/htaccess_cgi_rewrite.tpl @@ -24,6 +24,10 @@ RewriteRule ^index\.(html?|php.+) {indexFile}?url=index.html [L,QSA] RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA] RewriteRule (.*\.html?) {indexFile}?url=/$1 [L,QSA] + + deny from all + + deny from all diff --git a/include/tpl/htaccess_errordocs.tpl b/include/tpl/htaccess_errordocs.tpl index 7477fb3..32c4b3c 100644 --- a/include/tpl/htaccess_errordocs.tpl +++ b/include/tpl/htaccess_errordocs.tpl @@ -4,6 +4,10 @@ DirectoryIndex {PREFIX}{indexFile} php_value session.use_trans_sid 0 php_value register_globals off + + deny from all + + deny from all diff --git a/include/tpl/htaccess_normal.tpl b/include/tpl/htaccess_normal.tpl index 73c3a94..7bb21a4 100644 --- a/include/tpl/htaccess_normal.tpl +++ b/include/tpl/htaccess_normal.tpl @@ -2,6 +2,11 @@ DirectoryIndex {PREFIX}{indexFile} php_value session.use_trans_sid 0 php_value register_globals off + + + deny from all + + deny from all diff --git a/include/tpl/htaccess_rewrite.tpl b/include/tpl/htaccess_rewrite.tpl index cce5d1d..0a21d2f 100644 --- a/include/tpl/htaccess_rewrite.tpl +++ b/include/tpl/htaccess_rewrite.tpl @@ -26,6 +26,10 @@ RewriteRule ^index\.(html?|php.+) {indexFile}?url=index.html [L,QSA] RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA] RewriteRule (.*\.html?) {indexFile}?url=/$1 [L,QSA] + + deny from all + + deny from all