In order to serve encoded documents to clients, the client must support the given encoding method, as well as the HTTP encoding extension.
AddEncoding type extension
type
is the encoding type for the document.
extension
is the filename extension to map to this encoding.
You may use as many AddEncoding directives as you wish.
AddEncoding x-gzip gz
This would cause any file ending in .gz to be marked as encoded using the x-gzip encoding method.
Return to Resource Configuration File Overview