+++ /dev/null
-# /etc/cron.d/hcoop-apache-clean-cache: Clean the disk cache every 23
-# minutes.
-MAILTO=logs@mire.hcoop.net
-
-*/23 * * * * root /usr/sbin/htcacheclean -n -t -p/var/cache/apache2/mod_disk_cache -l700M
/etc/suphp/suphp.conf.hcoop
/etc/apache2/mods-available/suphp.conf.hcoop
/etc/apache2/mods-available/status.conf.hcoop
+/etc/apache2/mods-available/disk_cache.conf.hcoop
+++ /dev/null
-# /etc/cron.d/hcoop-apache-sync-logs: Copy apache logs to user
-# homedirs every 20 minutes.
-MAILTO=logs@hcoop.net
-
-0 */2 * * * root /afs/hcoop.net/common/etc/scripts/apache-sync-logs >/dev/null 2>&1
--- /dev/null
+<IfModule mod_disk_cache.c>
+# cache cleaning is done by htcacheclean, which can be configured in
+# /etc/default/apache2
+
+ # This path must be the same as the one in /etc/default/apache2
+ CacheRoot /var/cache/apache2/mod_disk_cache
+
+ # This will also cache local documents. It usually makes more sense to
+ # put this into the configuration for just one virtual host.
+
+ #CacheEnable disk /
+
+ # The result of CacheDirLevels * CacheDirLength must not be higher than
+ # 20. Moreover, pay attention on file system limits. Some file systems
+ # do not support more than a certain number of subdirectories in a
+ # single directory (e.g. 32000 for ext3)
+ CacheDirLevels 2
+ CacheDirLength 1
+
+ # cache files up to ~15M
+ CacheMaxFileSize 17000000
+</IfModule>