Re: [users@httpd] Parsing .htm extensions as .php extensions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <davide@xxxxxxxxxxxxxx> 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:
> users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest:
> users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail:
> users-help@xxxxxxxxxxxxxxxx
> 
> 



		
____________________________________________________
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux