Forum Moderators: coopster

Message Too Old, No Replies

PHP, HTML and HTACCESS not working

Same sript ihave used countless times. Bad server?

         

m1tch37

7:07 am on Aug 29, 2007 (gmt 0)

10+ Year Member



I am trying to get PHP to run in HTML files. I have done it many many times with not a problem. However my latest attempt using this code:

RemoveHandler .html .htm (with/and without)
AddType application/x-httpd-php .php .htm .html

Returns a 500 Internal Server Error. I have no idea why, and it is critical i get this to work.

Any ideas?

Thank You,
Mitchell W

jatar_k

12:36 pm on Aug 29, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld m1tch37,

I have never seen RemoveHandler used, have you tried it without it?