The browser displays the HTML code instead of showing the page when retrieving static content from Apache httpd

Solution Verified - Updated -


  • When accessing static content in Apache httpd the page's HTML code is shown directly in the browser as plain text, without being interpreted. This happens with Chrome but not with Internet Explorer.


  • Red Hat Enterprise Linux
  • Red Hat Software Collections
  • Red Hat JBoss Core Services
  • Red Hat JBoss Web Server
  • Apache httpd
    • 2.2
    • 2.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In