Forum Moderators: coopster

Message Too Old, No Replies

Can't parse PHP on html page anymore

         

NeedScripts

3:24 pm on Jun 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I had it working on previous websites, however for some reason it is not working anymore :(

I have tried both lines in .htaccess file but with no success.

AddHandler application/x-httpd-php .html
AddType application/x-httpd-php .html

Any help. I really need to use php on .html page.

P.S. I am using PHP Version 4.3.11.

jatar_k

4:43 pm on Jun 7, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



does this host allow .htaccess?

NeedScripts

12:33 am on Jun 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It is a dedicated server and is being used only for our sites. So yes, .htaccess files works as normal.

jatar_k

5:17 pm on Jun 8, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



if it is dedicated why not have them set it up in httpd.conf?

Gibble

5:18 pm on Jun 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



maybe a really dumb thought, but you're sure your files are .html and not named .htm

SurfMaster

10:46 pm on Jun 13, 2005 (gmt 0)

10+ Year Member



Yes I am sure the files are having .html extension.