You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-de@httpd.apache.org by "Germer, Carsten" <ca...@desy.de> on 2005/06/30 17:17:08 UTC
Direktive "CacheIgnoreHeaders" nicht im Apache?
Hallo Leute,
Ich stelle grad auf Apache 2.0 um und soweit läuft alles primstens.
Allerdings benötige ich die Drektive "CacheIgnoreHeaders" im mod_cache, deswegen stelle ich eigentlich um.
http://httpd.apache.org/docs-2.0/mod/mod_cache.html#cacheignoreheaders
<fehlermeldung>
Starting httpd: Syntax error on line 1009 of /etc/httpd/conf/httpd.conf:
Invalid command 'CacheIgnoreHeaders', perhaps mis-spelled or defined by a module not included in the server configuration
[FAILED]
</fehlermeldung>
<config-snip>
<IfModule mod_proxy.c>
ProxyRequests Off
ProxyVia On
<IfModule mod_disk_cache.c>
CacheEnable disk /
CacheRoot "/var/cache/mod_proxy"
</IfModule>
<IfModule mod_cache.c>
CacheGcInterval 1
CacheDefaultExpire 3600
CacheForceCompletion 100
CacheIgnoreHeaders Set-Cookie
CacheIgnoreNoLastMod On
CacheLastModifiedFactor 0.1
CacheMaxExpire 3600
</IfModule>
</IfModule>
</config-snip>
(Hinweis: Ich brauche den Proxy-Cache nur für die RewriteRules [P])
Der Apache ist ein 2.0.46 auf Redhat Enterprise.
Hat jemand nen Hinweis woran das liegen kann?
Lieben Gruß /Carsten
------------------------------------------------------------------------
Carsten Germer Deutsches Elektronen Synchrotron (Web-Office, IT)
phone: +49-40-8998-1661 Notkestr. 85
web: http://wof.desy.de 22607 Hamburg
e-mail: carsten.germer@desy.de Germany
------------------------------------------------------------------------
--------------------------------------------------------------------------
Apache HTTP Server Mailing List "users-de"
unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
sonstige Anfragen an users-de-help@httpd.apache.org
--------------------------------------------------------------------------
Re: Direktive "CacheIgnoreHeaders" nicht im Apache?
Posted by Max Dittrich <ma...@t-online.de>.
Hi,
Germer, Carsten wrote:
> Hallo Leute,
>
> Ich stelle grad auf Apache 2.0 um und soweit läuft alles primstens.
> Allerdings benötige ich die Drektive "CacheIgnoreHeaders" im mod_cache, deswegen stelle ich eigentlich um.
> http://httpd.apache.org/docs-2.0/mod/mod_cache.html#cacheignoreheaders
>
> <fehlermeldung>
> Starting httpd: Syntax error on line 1009 of /etc/httpd/conf/httpd.conf:
> Invalid command 'CacheIgnoreHeaders', perhaps mis-spelled or defined by a module not included in the server configuration
> [FAILED]
> </fehlermeldung>
>
> <config-snip>
[..]
> </config-snip>
> (Hinweis: Ich brauche den Proxy-Cache nur für die RewriteRules [P])
>
> Der Apache ist ein 2.0.46 auf Redhat Enterprise.
> Hat jemand nen Hinweis woran das liegen kann?
Auszug aus http://www.apache.org/dist/httpd/CHANGES_2.0
--8<--
Changes with Apache 2.0.54
*) mod_cache: Add CacheIgnoreHeaders directive. PR 30399.
--8<--
Du muss wohl auf die neueste Version updaten.
gruss,
.max
--------------------------------------------------------------------------
Apache HTTP Server Mailing List "users-de"
unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
sonstige Anfragen an users-de-help@httpd.apache.org
--------------------------------------------------------------------------