Isn't that one a bit obvious?

Add .htm to the list???

--
Chris.

----- Original Message ----- From: "David Blomstrom" <[EMAIL PROTECTED]>
To: <users@httpd.apache.org>
Sent: Tuesday, August 16, 2005 11:15 AM
Subject: Re: [EMAIL PROTECTED] Parsing .htm extensions as .php extensions


OK, you're talking about Apache's httpd conf file,
right? It already has this line:

AddType application/x-httpd-php .php .php4 .php3
.phtml

So how do I change it if I want it to interpret .htm
extensions as .php extensions? Also, is there anyway
to do this in .htaccess instead? I don't think I have
access to the conf file online.

Thanks.


--- Davide Bianchi <[EMAIL PROTECTED]> wrote:

David Blomstrom wrote:
> I THINK there's an Apache function that allows you
to
> use PHP on web pages with .htm extensions.

Just change the extension mapping in the default
AddType application/x-httpd-php
to wathever you want.

Davide


--
"Our business model works even if all internet
software is free.
How does Netscape's business model look? -- not so
good."
   -- Bill Gates


---------------------------------------------------------------------
The official User-To-User support forum of the
Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for
more info.
To unsubscribe, e-mail:
[EMAIL PROTECTED]
   "   from the digest:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]






____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to