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

Solution Verified - Updated -

Issue

  • 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.

Environment

  • 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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In