Solved

Apache server setup

Posted on 2000-03-29
1
519 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
1 Comment
 
LVL 1

Accepted Solution

by:
dserna earned 50 total points
Comment Utility
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

762 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now