Red Hat NETWORK PROXY SERVER 3.7 - Bedienungsanleitung Seite 34

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 101
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 33
24 Configuring Your Secure Web Server
uncomment the Cache directives to enable proxy caching for your
proxy server. Apache proxy serving is enabled by the
proxy module which was compiled in and loaded with your web
server by default.
Cache directives A number of cache directives are commented out in
your httpd.conf file. If you are using the proxy server function-
ality, you should uncomment these directives to enable the proxy
cache. The default settings for your cache directives should be ap-
propriate for most configurations.
CacheRoot CacheRoot sets the name of the directory which will con-
taincachedfiles. ThedefaultCacheRoot setis/var/cache/httpd.
CacheSize CacheSize sets how much space the cache can use, in KB.
The default CacheSize is 5 KB.
CacheGcInterval CacheGcInterval setsanumber ofhours. Afterthat
numberofhours, files in the cache will be deletedifthecacheisusing
more space than allowed by CacheSize. The default for
CacheGcInterval is four hours.
CacheMaxExpire Cached HTML documents will be retained (without a
reload from the originating web server) in the cache for a maximum
number of hours set by CacheMaxExpire. The default is 24 hours.
CacheLastModifiedFactor TheCacheLastModifiedFactor affectsthe
creation of an expiry date for a document which did not come from
its originating server with its own expiry set. The default
CacheLastModifiedFactor is set to 0.1, meaning that the ex-
piry date forsuch documentsequals one-tenth ofthe amount oftime
since the document was last modified.
CacheDefaultExpire CacheDefaultExpire istheexpirytime in hours
for a document that was received using a protocol that doesn’t sup-
port expiry times. The default is set to one hour.
NoCache Any document that is retrieved from a host and/or domain
that matches one set in NoCache will not be cached.
VirtualHost <VirtualHost> and /VirtualHost> tags surround any
configuration directiveswhich areintended toapply toa virtual host
Seitenansicht 33
1 2 ... 29 30 31 32 33 34 35 36 37 38 39 ... 100 101

Kommentare zu diesen Handbüchern

Keine Kommentare