RE: Unable to conditionally set cache-control

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

 



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.

[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