Apache HTTP Server - /etc/apache2/mods-available/cache_disk.conf

Pulled directly from an unmodified installation.

Quick Actions

๐Ÿ“ฅ Download Original cache_disk.conf

Configuration File Information

Configuration File Content

/etc/apache2/mods-available/cache_disk.conf
28 lines
<IfModule mod_cache_disk.c>

	# cache cleaning is done by htcacheclean, which can be configured in
	# /etc/default/apache2
	#
	# For further information, see the comments in that file,
	# /usr/share/doc/apache2/README.Debian, and the htcacheclean(8)
	# man page.

	# This path must be the same as the one in /etc/default/apache2
	CacheRoot /var/cache/apache2/mod_cache_disk

	# 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 inodes and
    # subdirectories (e.g. 32000 for ext3)
    CacheDirLevels 2
    CacheDirLength 1

</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

        

Download Commands

cache_disk.conf โ€ข

Download the 100% original unaltered configuration file pulled from Apache HTTP Server

Using wget:

wget -O cache_disk.conf.example https://exampleconfig.com/api/v1/config/original/b716cf836c9f00dae0366a39f511b76d?hint=cache_disk.conf

Using curl:

curl https://exampleconfig.com/api/v1/config/original/b716cf836c9f00dae0366a39f511b76d?hint=cache_disk.conf > cache_disk.conf.example

Related Configuration Files

Technical Details

File Location
/etc/apache2/mods-available/cache_disk.conf
Platform
Linux
File Size
28 lines
Application
Apache HTTP Server
Compatible Versions
MD5 Checksum
b716cf836c9f00dae0366a39f511b76d
SHA256 Checksum
c9d728c4d3560ecfcd302f3214dcbf7cdcbab07bfee59631faaf36486b0747aa