summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authornatrak <>2001-11-24 13:18:58 +0000
committernatrak <>2001-11-24 13:18:58 +0000
commitcd40123540f6b76e93fe3e4d87edba5aafc05018 (patch)
tree71d610a2c7b628c8afb5852898f13caccd148256 /.htaccess
parent42ecb27802c2ed2b5a6d2452d62818ade183aad1 (diff)
downloadbrdo-cd40123540f6b76e93fe3e4d87edba5aafc05018.tar.gz
brdo-cd40123540f6b76e93fe3e4d87edba5aafc05018.tar.bz2
- cleaned up .htaccess. Removed some php settings and made the deny
filters more specific.
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess13
1 files changed, 7 insertions, 6 deletions
diff --git a/.htaccess b/.htaccess
index a9d2dc4d7..18f00e5d7 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,14 +1,16 @@
#
# Apache/PHP/site settings:
-# $Id$
#
# Protect files and directories from prying eyes:
-<Files ~ "(class|conf|CVS|database|Entries|inc|modules|\.module|Repository|Root|script|sh|sql|theme)">
+<Files ~ "(\.(conf|inc|module|pl|sh|sql|theme)|Entries|Repositories|Root|scripts|updates)$">
order deny,allow
deny from all
</Files>
+# Deny directory listings:
+Options -Indexes
+
# Customized server error messages:
ErrorDocument 400 /error.php
ErrorDocument 402 /error.php
@@ -24,9 +26,6 @@ ErrorDocument 500 /error.php
php_value magic_quotes_runtime 0
php_value magic_quotes_sybase 0
php_value session.auto_start 0
- php_value session.cookie_lifetime 2000000
- php_value session.gc_maxlifetime 2000000
- php_value session.cache_expire 200000
php_value session.save_handler user
</IfModule>
@@ -34,4 +33,6 @@ ErrorDocument 500 /error.php
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^blog/(.*) /module.php?mod=blog&op=view&name=$1 [R]
-</IfModule> \ No newline at end of file
+</IfModule>
+
+# $Id$