Forum Moderators: phranque

Message Too Old, No Replies

Php to html page gets as downloaded page

problem in .htaccess or server config

         

Moan

8:04 am on Mar 22, 2011 (gmt 0)

10+ Year Member



i have a issue of displaying php to html - the .htaccess was not active at all

we did allowoverride All in httpd.conf

now the when we browse the page, the website do not get opened in the browser but gets as downloaded page.

the server is linux

the .htaccess file config is as follows

#RewriteEngine On
AddType application/x-httpd-php .html


I have checked setting as Rewrite engine On or commented same effect..

how to rectify this issue

Moan

8:18 am on Mar 22, 2011 (gmt 0)

10+ Year Member



I request help on this ASAP

jdMorgan

11:10 pm on Mar 28, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Probably the same problem as described here for PERL scripts: [webmasterworld.com...]

Jim