Solved

Apache: recognizing "*.htm" files as well as "*.html" files in a browser

Posted on 1998-02-07
1
269 Views
Last Modified: 2010-04-21
I am trying to set up my Unix server running Apache so that
it will recognize files that end in .htm as well as files that end in .html. At this point, the only files that my browser will read from the server are the ones ending in .html.

Ultimately, I'd like this setting to be variable depending on the domain being accessed. However, setting this up server-wide would also be fine at this point...
0
Comment
Question by:alligolf
1 Comment
 
LVL 32

Accepted Solution

by:
jhance earned 150 total points
ID: 2008781
In your mime.types, make sure you have a line like:

text/html                      html htm

Be sure to restart your httpd after making this change.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
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 video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

895 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

15 Experts available now in Live!

Get 1:1 Help Now