Solved

Apache server setup

Posted on 2000-03-29
1
523 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
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to clone solaris 10 machine 33 111
Block sender e-mail address in Postfix 4 64
gdb doesn't stop on breakpoint 2 45
Reset Root Password on CentOS 6 4 43
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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.

929 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

14 Experts available now in Live!

Get 1:1 Help Now