|mod cache, mod expires, PHPSESSID, Pragma|
Here is what I am trying to achieve:
I need to setup header response to some .html files in /ExampleDirectory/ to:
|DateMon, 14 Nov 2011 23:28:54 GMT |
ExpiresThu, 19 Nov 1981 08:52:00 GMT
Cache-Controlno-store, no-cache, must-revalidate, post-check=0, pre-check=0
when other files in the same directory /ExampleDirectory/ should have header response as:
|DateMon, 14 Nov 2011 23:28:04 GMT |
ExpiresTue, 15 Nov 2011 05:28:04 GMT
there is also one more thing, for instance if you check the header response of the page with the first header it also shows
in response header, so the entire responce looks like this:
|Set-Cookie:PHPSESSID=06len3uktc1fjobpigbhi0m530; path=/ |
Expires:Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control:no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Can anyone help me to understand the process and actually help me to set it up right on my server. I am on apache 2.2.3 and do have an access to httpd.conf and php.ini files.
I have seen a couple of similar threads and in fact tried to implement myself, but nothing worked for me so far.