This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
qemudb/.htaccess
Chris Morgan 916517e6f5 Ensure that session.gc_probability is 1 and set session.gc_divisor to something reasonable for a reasonably
heavily accessed site like appdb.  This change solves the mystery of why we had millions of unexpired sessions
in session_list and should make the session_list cron cleanup job superfluous.
2006-07-11 20:35:43 +00:00

24 lines
668 B
ApacheConf

# default permissions
allow from all
# Set Our Default Directory Index
DirectoryIndex index.php
# 404 not found document
ErrorDocument 404 http://www.winehq.org/site/404
# Modify the PHP configuration (global vars, etc.)
php_value register_globals 0
php_value short_open_tag 0
php_value register_long_arrays 0
php_value magic_quotes_gpc 0
php_flag zlib.output_compression on
# make sure gc_probability is non-zero, we want php to take care of
# session cleanup for us
php_value session.gc_probability 1
# lower the probability of calling garbage collection
# the appdb gets so many hits we want to increase the divisor above 100
php_value session.gc_divisor 2000