> >># these get processed by the php interpreter (space delimited)
> >>AddType application/x-httpd-php .php .htm .
> 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
.htm vs .phtm
Le jeudi 11 septembre 2008 à 14:05 -0400, Norman Peelman a écrit :
> Nick Kew wrote:
> >> # these get processed by the php interpreter (space delimited)
> >> AddType application/x-httpd-php .php .htm .
> >
> > Please don't propagate that myth. Abusing AddType for server-side
> > ha
Nick Kew wrote:
# these get processed by the php interpreter (space delimited)
AddType application/x-httpd-php .php .htm .
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.
S
# these get processed by the php interpreter (space delimited)
AddType application/x-httpd-php .php .htm .
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.
-
Varuna Seneviratna wrote:
Hello
When I save a file with a .html extension ,Apache does not
processes the PHP script in it.How to configure Apache to processes
PHP in .html files?
Thanks Varuna
--
Varuna Seneviratna
No 514 Udumulla Road
Battaramulla
Sri Lanka
Tel : 011-2888620
Mobile:07
On 11.09.08 12:57, Varuna Seneviratna wrote:
> When I save a file with a .html extension ,Apache does not processes
> the PHP script in it.How to configure Apache to processes PHP in .html
> files?
- you should not name PHP files as .html
- just do it the same way PHP files are marked to be
Hello
When I save a file with a .html extension ,Apache does not processes
the PHP script in it.How to configure Apache to processes PHP in .html
files?
Thanks Varuna
--
Varuna Seneviratna
No 514 Udumulla Road
Battaramulla
Sri Lanka
Tel : 011-2888620
Mobile:0715617141