Web Hosting Talk







View Full Version : How can i gzip my web site ?


Ivan23
05-06-2005, 09:37 PM
i like to gzip my web pages
www.servertweak.com

tanfwc
05-06-2005, 09:48 PM
I can see that you use DirectAdmin, din they have a backup feature on it?

Ivan23
05-06-2005, 10:28 PM
nono, i mean ... i just want to gzip server tweak web site only

gbulmash
05-07-2005, 02:48 AM
Originally posted by Ivan23
nono, i mean ... i just want to gzip server tweak web site only

You mean you just want to gzip your site on their server?

If this is the case, as far as I can tell, they don't give you a shell account, so any gzipping would have to be through an option in the web-based controls they provide.

- Greg

Ivan23
05-07-2005, 11:45 AM
Originally posted by gbulmash
You mean you just want to gzip your site on their server?

If this is the case, as far as I can tell, they don't give you a shell account, so any gzipping would have to be through an option in the web-based controls they provide.

- Greg

ok , wait not sure everyone is understanding me.


my server is fine and has the controls, but just want to compress the php main site .. that is all. so it loads even faster

is there a way to do so ?

Ivan23
05-07-2005, 11:48 AM
i ran this test
http://leknor.com/code/gziped.php?url=http%3A%2F%2Fwww.servertweak.com

Host3000
05-07-2005, 11:58 AM
http://sourceforge.net/projects/mod-gzip . This has to be done in the apache config.

Be aware of the serverload though.

Ivan23
05-07-2005, 12:37 PM
Originally posted by Host3000
http://sourceforge.net/projects/mod-gzip . This has to be done in the apache config.

Be aware of the serverload though.


not for the whole server, just server main home page

I got it work now

i did as it follows if anyone likes to know
http://leknor.com/code/php/view/class.gzip_encode.php.txt