Forum Moderators: phranque

Message Too Old, No Replies

gzip, parsing SSI, doesnt work together

when gzip is turned on SSI's dont parse

         

Somjai

3:45 am on Feb 13, 2010 (gmt 0)

10+ Year Member



Hi
I have a problem about Gzip. I use the GZIP files with .htaccess and PHP method. It works fine for my js and css files, but when I turn it on for html files my SSI's dont get rendered on the page.

I have this in my htaccess
AddHandler server-parsed .htm

and use a css menu for the SSI

Does anyone know how I can fix this to parse my pages and gzip them too?

my website is here <snip>

Thank you in advance for any suggestions

Somjai

[edited by: jdMorgan at 1:38 pm (utc) on Feb 13, 2010]
[edit reason] No URLs, please. See Terms of Service and Charter. [/edit]

jdMorgan

1:40 pm on Feb 13, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It sounds like the gzip compression is being applied before the SSI parsing can take place. So you'll need to change the order of those processes by modifying the server configuration -- or asking your host to do so.

That's about all I know on this subject.

Jim

Somjai

12:23 pm on Feb 15, 2010 (gmt 0)

10+ Year Member



Does this mean I ask my server to change the order of this? Parse first then gzip compression?

I have spent many days and nights trying to find a solution to this, but I just dont seem to be able to find an answer