Parsing html for php
Posted: Sun 25 Jan 2009 19:09
Cookie, following our discussion I ran a brief test at localhost and it seems that I can achieve what I desire using a .htaccess file as follows
# Add .phtml as a file type because it does not already exist (on my localhost server)
AddType application/x-httpd-php .phtml
# Add PHP handler for .html and .phtml
AddHandler application/x-httpd-php .html
AddHandler application/x-httpd-php .phtml
So... I'll try that on the BCA server (probably on the Hidden Earth site I guess) and if it works than a) I dont need to trouble you to alter the httpd.conf file and b) the BCRA web site will be much easier to port across.
# Add .phtml as a file type because it does not already exist (on my localhost server)
AddType application/x-httpd-php .phtml
# Add PHP handler for .html and .phtml
AddHandler application/x-httpd-php .html
AddHandler application/x-httpd-php .phtml
So... I'll try that on the BCA server (probably on the Hidden Earth site I guess) and if it works than a) I dont need to trouble you to alter the httpd.conf file and b) the BCRA web site will be much easier to port across.