Solved

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

Posted on 1998-02-07
1
263 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
Comment Utility
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

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…
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…
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.
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

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

11 Experts available now in Live!

Get 1:1 Help Now