•
— Specifies whether the cache is a disk, memory, or file descriptor cache. By
CacheEnable
default
CacheEnable
•
— Specifies the name of the directory containing cached files. The default
CacheRoot
is the
CacheRoot
/var/httpd/proxy/
•
— Specifies how much space the cache can use in kilobytes. The default
CacheSize
is
KB.
CacheSize
5
The following is a list of some of the other common cache-related directives.
•
— Specifies how long HTML documents are retained (without a reload from
CacheMaxExpire
the originating Web server) in the cache. The default is
•
CacheLastModifiedFactor
document which did not come from its originating server with its own expiry set. The default
CacheLastModifiedFactor
equals one-tenth of the amount of time since the document was last modified.
•
CacheDefaultExpire
using a protocol that does not support expiry times. The default is set to
seconds).
•
— Specifies a space-separated list of subnets, IP addresses, domains, or hosts
NoProxy
whose content is not cached. This setting is most useful for Intranet sites.
5.64.
NameVirtualHost
The
NameVirtualHost
any name-based virtual hosts. Name-based virtual hosting allows one Apache HTTP Server to
serve different domains without using multiple IP addresses.
Note
Name-based virtual hosts only work with non-secure HTTP connections. If using
virtual hosts with a secure server, use IP address-based virtual hosts instead.
To enable name-based virtual hosting, uncomment the
directive and add the correct IP address. Then add additional
virtual host as is necessary for your configuration.
5.65.
VirtualHost
and
<VirtualHost>
</VirtualHost>
virtual host. The
VirtualHost
configures a disk cache for URLs at or below
directory.
— Specifies the creation of an expiry (expiration) date for a
is set to
, meaning that the expiry date for such documents
0.1
— Specifies the expiry time in hours for a document that was received
directive associates an IP address and port number, if necessary, for
tags create a container outlining the characteristics of a
container accepts most configuration directives.
.
/
hours (
seconds).
24
86400
hour (
1
configuration
NameVirtualHost
containers for each
VirtualHost
NameVirtualHost
3600
179