fastread homefastrread library fastread menu

htaccess : Setting up Associations for Encoded Files

Tutorial by:Shenila      Date: 2016-05-18 03:22:53

❰ Previous Next ❱

Some browsers are capable of uncompressing encoded information as they receive it.
 
To enable a client to see that a file is encoded, create a .htaccess file following the main instructions and guidance, and include the following text:
 

AddEncoding x-gzip .gz .tgz
AddEncoding x-compress .Z


 
This tells the Apache Web Server to treat .gz and .tgz files as encoded by x-gzip, and .Z files as encoded by x-compress.

❰ Previous Next ❱