Forum Moderators: phranque
Basically, I am pulling a file called compact.ssi. This file is updated all the time. What shows in the .htm files was what was in the ssi file when the .htm file I am putting the compact.ssi call in. It never pulls in the latest changes to the ssi file...just seems to show a cache. If I reupload the .htm file, it shows the newest changes, but again never updates after that.
I have tried a .shtml extension, and this works correctly and always updates.
Below is my .htaccess file. If this means anything, I am on a RAQ4i server.
Options +Includes
AddType text/x-server-parsed-html .htm
XBitHack Full
Thanks for any help.
I suspect the problem is with XBitHack Full. Using Full causes the server to take the date of the parent htm(l) file as the Last-Modified date. Try XBitHack On instead. If that does not work, then you will have to manually set up the headers to return the last-modified date of the ssi file, or to set the expiry date in the past, so that the htm(l) page cannot be cached.
HTH,
Jim
Others say this and that, but I go by the mod_include documentation [httpd.apache.org]. :) Not sure about RAQ, though.
Jim