How to enable gzip compression on Apache HTTP server ?

Solution Verified - Updated -

Issue

  • How to enable gzip compression on Apache HTTP server to reduce the response size.
  • We have Apache Web server running on Rhel 6.3. We would like to enable compression on web servers.
  • Apache Deflate content not working.

Environment

  • Red Hat JBoss Portal (EPP)
    • 5.x
  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.x
  • Apache HTTP server/mod_jk
    • 2.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.