Apache apache2 configuration example for Ubuntu 12.04 LTS (Precise Pangolin)

Get the default configuration file apache2 for Apache, optimized for Ubuntu 12.04 LTS (Precise Pangolin). 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/disk_cache.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_disk_cache

## additional options:
## -n : be nice
## -t : remove empty directories
HTCACHECLEAN_OPTIONS="-n"

    
  

Config Details

Location
/etc/default/apache2
Operating system
Ubuntu 12.04 LTS (Precise Pangolin)
Length
26 lines
MD5 checksum
f9cde5d72a68a85432a508cd2c960e63

Usage

Download the raw file with wget or curl

Wget

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

cURL

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