Apache2 rewriting HTTP headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I'm using apache 2.0.59 and I'm getting an weird problem.
First of all, I have no 'Header <blabla> unset' from mod_headers.
Apache is rewriting 'Cache-Control' and 'Pragma' headers when
is being fetched _only_ PDF and DOC file. An example:
Asking direct to background server (using wget):

 1 HTTP/1.0 200 OK
2 Server: Zope/(Zope 2.9.8-final, python 2.4.4, linux2) ZServer/1.1 Plone/2.5.3-final
 3 Date: Thu, 31 Jan 2008 17:10:19 GMT
 4 Content-Length: 49665
5 X-Cache-Headers-Set-By: CachingPolicyManager: /intranets/restrito/caching_policy_manager
 6 Accept-Ranges: bytes
 7 Expires: Thu, 31 Jan 2008 17:15:19 GMT
 8 Connection: Keep-Alive
 9 X-Caching-Rule-Id: downloads
10 Cache-Control: max-age=300, must-revalidate
11 Content-Type: application/pdf
12 X-Header-Set-Id: 10

Asking to apache2:

 1 HTTP/1.1 200 OK
 2 Date: Thu, 31 Jan 2008 17:11:10 GMT
3 Server: Zope/(Zope 2.9.8-final, python 2.4.4, linux2) ZServer/1.1 Plone/2.5.3-final
 4 Content-Length: 49665
5 X-Cache-Headers-Set-By: CachingPolicyManager: /intranets/restrito/caching_policy_manager
 6 Accept-Ranges: bytes
 7 Expires: Thu, 31 Jan 2008 17:16:10 GMT
 8 X-Caching-Rule-Id: downloads
 9 Cache-Control: -
10 Content-Type: application/pdf
11 X-Header-Set-Id: 10
12 Pragma: -
13 X-Cluster-Server: plutao
14 Connection: close

Please see 'Pragma' and 'Cache-Control'.


Any help or tip how can I debug this problem ?

Configuration:
<snipet>

 RewriteEngine On
RewriteRule ^/atlas/WEB-INF/classes/(.*) http://otherserver.org/atlas/WEB-INF/classes/$1 [L,R=301] RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/mybackendserver.org:80/intranets/restrito/VirtualHostRoot/$1 [L,P]

 Header set X-Cluster-Server plutao

 <IfModule mod_proxy.c>
  ProxyVia On
  <LocationMatch "^[^/]">
   Deny from all
  </LocationMatch>
 </IfModule>

</snipet>


thanks a lot in advance
Lucas Brasilino

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux