Re: How to configure Apache to processes .html file

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

 



> >># these get processed by the php interpreter (space delimited)
> >>AddType application/x-httpd-php .php .htm .<your extension here>

> Nick Kew wrote:
> >Please don't propagate that myth.  Abusing AddType for server-side
> >handlers is a grotty hack inherited from the NCSA server, and has
> >been wrong since Apache 1.1 in 1996.
> >
> >See AddHandler.

unluckily this myth is still wide-spread across PHP docs and many package
distributions... looking at PHP docs/bugreports, they don't care much :(

On 11.09.08 14:05, Norman Peelman wrote:
> Ok, thanks for the info... have changed my php.conf file accordingly.
> 
> AddHandler php5-script .php .htm

seems they don't have something like that for highlighting PHP sources, only
application/x-https-php-source...

-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
- Have you got anything without Spam in it?
- Well, there's Spam egg sausage and Spam, that's not got much Spam in it.

---------------------------------------------------------------------
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