Gzip

Status
Not open for further replies.

kmarkiv

New Member
Messages
27
Reaction score
0
Points
0
Dear Sir,
Gzip compression .... i want to enable gzip compression for my site its hosted on kmarkiv.x10hosting.com how to do it .... Is it allowed for free hosting (If i change the .htaccess file as per a tutorial the site crashes)
Please help
 

adamparkzer

On Extended Leave
Messages
3,745
Reaction score
81
Points
0
Dear Sir,
Gzip compression .... i want to enable gzip compression for my site its hosted on kmarkiv.x10hosting.com how to do it .... Is it allowed for free hosting (If i change the .htaccess file as per a tutorial the site crashes)
Please help

Hi kmarkiv,

To my knowledge, the following code enables compression on your website:

Code:
<ifModule mod_php4.c>
php_value zlib.output_compression 16386
</ifModule>

Please check your .htaccess file to make sure that that is the code that is in there. I have it in my .htaccses and it is not crashing. If that code does not work either, please post back and copy and paste the exact error code you are receiving.

- Adam
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
,

To my knowledge, the following code enables compression on your website:

Code:
<ifModule mod_php4.c>
php_value zlib.output_compression 16386
</ifModule>

It doesn't on Chopin. The ifModule seems to be false since I tried:

Code:
<ifModule mod_php4.c>

ErrorDocument 404 /error/404.html
</ifModule>

And the ErrorDocument declaration was not picked up.
 

kmarkiv

New Member
Messages
27
Reaction score
0
Points
0
Even after adding

<ifModule mod_php4.c>
php_value zlib.output_compression 16386
</ifModule>
there is no gzip compression ...
how can i ask admin to enable it ....

Thanks
 

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
try this:

Code:
mod_gzip_on       Yes
mod_gzip_dechunk  Yes
mod_gzip_item_include file      \.(html?|txt|css|js|php|pl|jpg|png|gif)$
mod_gzip_item_include handler   ^cgi-script$
mod_gzip_item_include mime      ^text/.*
mod_gzip_item_include mime      ^application/x-javascript.*
mod_gzip_item_exclude mime      ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
 

kmarkiv

New Member
Messages
27
Reaction score
0
Points
0
i tried it .... it did not work what to do now ..i think its not enabled ..... how do i know whether its enabled or not....
how do i contact admin ....kmarkiv.heliohost.org
 
Last edited:
Status
Not open for further replies.
Top