Get the default configuration file apache2 for Apache, optimized for Debian GNU/Linux 8 (jessie). This example configuration ensures optimal compatibility and performance for Apache, making it easy to set up and adjust to meet your needs.
Find and download the configuration file here: /etc/default/apache2.
For more configurations and setup guides, visit our related files section to further customize your system.
### htcacheclean settings ###
## run htcacheclean: yes, no, auto
## auto means run if /etc/apache2/mods-enabled/cache_disk.load exists
## default: auto
HTCACHECLEAN_RUN=auto
## run mode: cron, daemon
## run in daemon mode or as daily cron job
## default: daemon
HTCACHECLEAN_MODE=daemon
## cache size
HTCACHECLEAN_SIZE=300M
## interval: if in daemon mode, clean cache every x minutes
HTCACHECLEAN_DAEMON_INTERVAL=120
## path to cache
## must be the same as in CacheRoot directive
HTCACHECLEAN_PATH=/var/cache/apache2/mod_cache_disk
## additional options:
## -n : be nice
## -t : remove empty directories
HTCACHECLEAN_OPTIONS="-n"
Download the raw file with wget or curl
wget -O apache2.example https://exampleconfig.com/static/raw/apache/debian8/etc/default/apache2
curl https://exampleconfig.com/static/raw/apache/debian8/etc/default/apache2 > apache2.example
Other config files you might find useful