Allowing *.html pages to execute PHP script -
i understand there lot of seemingly same questions on here. have tried given solutions in answers find still no succes.
i have microsoft 2012 r2 server running iis 8.5. because old website using .htaccess installed helicon ape still make use of .htaccess. seems run good. tested adding .htaccess file:
rewriteengine on rewriterule ^test\.html http://www.google.com/? [r=301,l]
whenever open test.html file redirect me google guess working fine.
now tried add following line .htaccess:
addtype application/x-httpd-php .html .htm
and after failed tried following line:
addtype application/x-httpd-php5 .html .htm
still no succes. after tried let fastcgi handler process html files. nothing changed. last not least have tried use server side includes video: youtube video
still didn't work. have .htaccess file in root folder. there other options try?
Comments
Post a Comment