summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2008-10-06 18:03:10 +0000
committeralecpl <alec@alec.pl>2008-10-06 18:03:10 +0000
commitaaa6ace377f57ca22de56eff96230cfcc74c62a8 (patch)
tree9e52ed2caf3454c09c988bdb969304d57d7dddc9 /.htaccess
parent28db73f7c9aa844d247332b50b19b0074fe74598 (diff)
#1485460: session.gc_* moved to main .htaccess file
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess28
1 files changed, 16 insertions, 12 deletions
diff --git a/.htaccess b/.htaccess
index 9e3667b09..bd11ae6ec 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,18 +1,22 @@
# AddDefaultCharset UTF-8
AddType text/x-component .htc
-<IfModule mod_php5.c>
- php_flag display_errors Off
- php_flag log_errors On
- php_value error_log logs/errors
- php_value upload_max_filesize 5M
- php_value post_max_size 6M
- php_value memory_limit 64M
- php_value session.auto_start 0
- php_value zlib.output_compression 0
- php_value magic_quotes_gpc 0
- php_value zend.ze1_compatibility_mode 0
-</IfModule>
+php_flag display_errors Off
+php_flag log_errors On
+php_value error_log logs/errors
+
+php_value upload_max_filesize 5M
+php_value post_max_size 6M
+php_value memory_limit 64M
+
+php_value zlib.output_compression 0
+php_value magic_quotes_gpc 0
+php_value zend.ze1_compatibility_mode 0
+
+php_value session.auto_start 0
+php_value session.gc_maxlifetime 21600
+php_value session.gc_divisor 500
+php_value session.gc_probability 1
<FilesMatch "(\.inc|\~)$">
Order allow,deny