Apache mod deflate so download


















The deflate encoding is not supported, please check the zlib's documentation for a complete explanation. Some web applications are vulnerable to an information disclosure attack when a TLS connection carries deflate compressed data. The following directive will enable compression for documents in the container where it is placed:. Here is an example of enabling compression only for the html files of the Apache documentation:. This Example will uncompress gzip'ed output from example. Now if a request contains a Content-Encoding: gzip header, the body will be automatically decompressed.

Few browsers have the ability to gzip request bodies. However, some special applications actually do support request compression, for instance some WebDAV clients.

If you evaluate the request body yourself, don't trust the Content-Length header! The Content-Length header reflects the length of the incoming data from the client and not the byte count of the decompressed data stream.

This prevents compressed content from being sent to a client that will not understand it. If you use some special exclusions dependent on, for example, the User-Agent header, you must manually configure an addition to the Vary header to alert proxies of the additional restrictions. If your decision about compression depends on other information than request headers e.

For more news about Jack Wallen, visit his website jackwallen Image: Jack Wallen. More about Networking 5 programming languages network architects should learn free PDF Behind the scenes: A day in the life of a database administrator 20 steps to decommission a redundant data center facility 17 Terminal commands every user should know. Delivered Tuesdays Sign up today. Editor's Picks. The best programming languages to learn in Check for Log4j vulnerabilities with this simple-to-use script. TasksBoard is the kanban interface for Google Tasks you've been waiting for.

Paging Zefram Cochrane: Humans have figured out how to make a warp bubble. Show Comments. Hide Comments. My Profile Log out. With the above configuration, any file with the extensions. DeflateCompressionLevel : This directive specify the compression level of file. By default, this level is 9. You can set up this level between 1 to 9. DeflateMemLevel : This directive specifies how much memory should be used by zlib for compression.

The default value is 9. You can set up this value between 1 to 9. DeflateWindowSize : This directive specifies the zlib compression window size.

The default value is



0コメント

  • 1000 / 1000