Solved

Apache server setup

Posted on 2000-03-29
1
529 Views
Last Modified: 2013-12-15

I have setup Apache server on Red Hat Linux release 5.2 (Apollo). If I browse that system through a browser, I can see  webpages if it is in HTML extension. If it is in HTM extension, whole HTML source code will be displayed on the browser instead of page.

How to correct this?
0
Comment
Question by:vatsasri
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
dserna earned 50 total points
ID: 2667533
The config file that you want to check is mime.types which can be found in your Apache conf directory. Edit the file and add htm to the following line:

text/html           html htm

save your changes and restart Apache. Reload the page in your browser, if you use Explorer or Netscape, make sure that you do a <SHIFT> reload or else you may reload a cached copy.
Apache should now recognize it as HTML now

Hope that helps
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
LogmeIn using Linux Ubuntu 16.04 6 170
Fuzzy search functionality DB2 UDB 3 61
Ubuntu don’t allow SU command in terminal 7 121
cmake and message 1 21
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question