Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Apache server setup

Posted on 2000-03-29
1
Medium Priority
?
536 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 150 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

610 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