Apache apache2 configuration example for Ubuntu 14.04 LTS (Trusty Tahr)

Get the default configuration file apache2 for Apache, optimized for Ubuntu 14.04 LTS (Trusty Tahr). 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"

    
  

Config Details

Location
/etc/default/apache2
Operating system
Ubuntu 14.04 LTS (Trusty Tahr)
Length
26 lines
MD5 checksum
b8c9d2272f8df519b2704e3d147316c1

Usage

Download the raw file with wget or curl

Wget

wget -O apache2.example https://exampleconfig.com/static/raw/apache/ubuntu14.04/etc/default/apache2

cURL

curl https://exampleconfig.com/static/raw/apache/ubuntu14.04/etc/default/apache2 > apache2.example