Re: [EMAIL PROTECTED] test.html.php shown as html not as php

2008-01-28 Thread Marten Lehmann
Hello, AddType application/x-httpd-php .php That's wrong. PHP is a handler, not a MIME type. That ugly hack was required by Apache 1.0, but has been a nasty bogosity since Apache 1.1 in 1996. ah, I see. I started using it with my Apache 1.3.x config where it worked fine and then kept it u

Re: [EMAIL PROTECTED] test.html.php shown as html not as php

2008-01-28 Thread Nick Kew
On Mon, 28 Jan 2008 16:21:16 +0100 Marten Lehmann <[EMAIL PROTECTED]> wrote: > Hello, > > using apache 2.2.4 we have these lines in our httpd.conf (among > others of course): > > AddType application/x-httpd-php .php That's wrong. PHP is a handler, not a MIME type. That ugly hack was required

Re: [EMAIL PROTECTED] test.html.php shown as html not as php

2008-01-28 Thread Joshua Slive
On Jan 28, 2008 10:21 AM, Marten Lehmann <[EMAIL PROTECTED]> wrote: > Hello, > > using apache 2.2.4 we have these lines in our httpd.conf (among others > of course): > > AddType application/x-httpd-php .php > AddHandler server-parsed .html > > This works generally fine: .php files are executed by t

RE: [EMAIL PROTECTED] test.html.php shown as html not as php

2008-01-28 Thread AJ McKee
Marten, Should be (Although not really a good thing) AddType application/x-httpd-php .php .html AJ - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for m

[EMAIL PROTECTED] test.html.php shown as html not as php

2008-01-28 Thread Marten Lehmann
Hello, using apache 2.2.4 we have these lines in our httpd.conf (among others of course): AddType application/x-httpd-php .php AddHandler server-parsed .html This works generally fine: .php files are executed by the php interpreter and .html files processed by the SSI processor of apache.