The old problem of the CSS not loading in the CMS under IE 6 and Win XP SP2 is causing me a problem. I fixed the problem by adding the following into the .htaccess file:
mod_gzip_item_exclude mime ^text/css
This worked well and cured the problems except with one server. It turns out that fix only works with Apache 1.3 and not Apache 2.
I was told by the hosting company that I shouldnt be using mod_gzip for this with Apache 2 but rather mod_deflate so there isnt a 500 Internal error coming up.
Anyone know the correct formatting of the fix since it isnt as simple as changing gzip to deflate as that doesnt work. I havent been able to find any documentation thats clear about this either.
Thanks
mod_gzip fix for css not loading
-
miss_d_bus
- Forum Members

- Posts: 121
- Joined: Sun May 01, 2005 4:27 pm
-
miss_d_bus
- Forum Members

- Posts: 121
- Joined: Sun May 01, 2005 4:27 pm
Re: mod_gzip fix for css not loading
Does anyone know anything about this?
Re: mod_gzip fix for css not loading
Mambo sucks, that's why I am here.
Now they call it Joomla, but it still sucks!
CMSMS rules!
Now they call it Joomla, but it still sucks!
CMSMS rules!
-
miss_d_bus
- Forum Members

- Posts: 121
- Joined: Sun May 01, 2005 4:27 pm
Re: mod_gzip fix for css not loading
Thanks, but I dont have access to the Apache config file so the only way to use this would be through the .htaccess file.
I see this:
SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary
but it isnt as simple as putting:
SetEnvIfNoCase Request_URI \.css$ no-gzip dont-vary
into the .htacceess file or is it?!!
Thats where I perhaps am going wrong.
I see this:
SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary
but it isnt as simple as putting:
SetEnvIfNoCase Request_URI \.css$ no-gzip dont-vary
into the .htacceess file or is it?!!
Thats where I perhaps am going wrong.
Re: mod_gzip fix for css not loading
http://httpd.apache.org/docs/2.0/mod/mo ... ecommended
if allow_override is on for your .htaccess then it should work
if allow_override is on for your .htaccess then it should work
Mambo sucks, that's why I am here.
Now they call it Joomla, but it still sucks!
CMSMS rules!
Now they call it Joomla, but it still sucks!
CMSMS rules!
-
miss_d_bus
- Forum Members

- Posts: 121
- Joined: Sun May 01, 2005 4:27 pm
Re: mod_gzip fix for css not loading
Thanks for the assistance, so far it looks like it works on Apache 2 using the following:
SetEnvIfNoCase Request_URI \
\.(?:css)$ no-gzip dont-vary
*edit* second time round browsing in the admin area, its even worse and the CSS isnt loading at all practically! Ermm...
SetEnvIfNoCase Request_URI \
\.(?:css)$ no-gzip dont-vary
*edit* second time round browsing in the admin area, its even worse and the CSS isnt loading at all practically! Ermm...
Last edited by miss_d_bus on Fri May 19, 2006 1:22 pm, edited 1 time in total.
