Jump to content

Help enabling GZIP with godaddy


Recommended Posts

I've been reading up on gzip for some time now, but can't get it to work for my project. This is all kind of new/confusing to me, so sorry if Im not too clear.

I created a .htaccess file and put it in the root folder of my site. In the htaccess file I tried some code to enable gzip (and other enchancements).

Here are the sources for the codes that I added/tried:
- Gzip Compression source 1
- Gzip Compression source 2
- Gzip Compression source 3
- Gzip Compression source 4
- Gzip Compression source 5


Now every time I tried them (not all at once), I always get the error 500. If it helps, I called my hosting company (godaddy) and asked them where can I locate the httpd.conf file and they said that I could just create one and place it in my root folder. I did that and tried to include some necessary codes so that the compression would work, but it didn't help.

This is some information from running my php.ini file on my server (Godaddy - Apache 1.3.33 / PHP 5.2.14):

HTTP_ACCEPT : text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_CHARSET : ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING : gzip,deflate
HTTP_ACCEPT_LANGUAGE : en-us,en;q=0.5
HTTP_CONNECTION : keep-alive
HTTP_COOKIE : __utma=251266308.1607284034.1286977587.1286993172.1286996982.4; __utmc=251266308; __utmz=251266308.1286977587.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmb=251266308.31.10.1286996982


Does anyone know how to enable the gzip through the .htaccess file and get rid on the error 500?


Thanks a lot

gdinari

Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...