Page 1 of 1

Parsing html for php

Posted: Sun 25 Jan 2009 19:09
by David Gibson
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.

Posted: Mon 26 Jan 2009 04:35
by David Cooke
Glad that works.

I've updated the DNS for Hidden-Earth.org.uk so the transfer is underway.