Solved

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

Posted on 1998-02-07
1
271 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AIX Server 10 87
AIX 5.x set up arrow to recall 11 58
spectrum scale snapshot  resotre/mount 1 10
aix unix tar error 3 73
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

809 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