httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <mitchel.carl...@asipay.com>
Subject RE: [users@httpd] Unable to conditionally set cache-control
Date Tue, 08 Jun 2010 19:20:06 GMT
The home.html is a JSP page written by tomcat.

Yes, the problem is the same for all file types.

 

To test that it is indeed all file types, I modified the conditional
statement to include *.jpg with same results:

<FilesMatch "\.(html|htm|js|css|jpg)$">
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store,
must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
</FilesMatch>

 With the following results:

 

https://10.35.0.2/asipay/images/asi_logo.jpg

 

.....

 

HTTP/1.1 200 OK

Date: Tue, 08 Jun 2010 18:57:45 GMT

Server: Apache/2.2.3 (Red Hat)

Etag: W/"19350-1274219366000"

Last-Modified: Tue, 18 May 2010 21:49:26 GMT

Content-Length: 19350

Connection: close

Content-Type: image/jpeg

________________________________

 

Is the home.html an actual file or a Rewrite rule ?
Do you have the same problem with other files ? .js or .css ?

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Notice: This information is intended only for the person(s) or entity(ies) to which it is
addressed. This information may contain information that is confidential or otherwise protected
from disclosure. If you are not the intended recipient of this message, or if this message
has been addressed to you in error, please immediately alert the sender by reply e-mail and
then delete this message, including any attachments. Any dissemination, distribution or other
use of the contents of this message by anyone other than the intended recipient is strictly
prohibited.

Mime
View raw message