The British Caving Association

Any views expressed are not necessarily those of the BCA
It is currently Sat 02 Aug 2014 05:27

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Parsing html for php
PostPosted: Sun 25 Jan 2009 19:09 
Offline
User avatar

Joined: Thu 16 Mar 2006 23:45
Posts: 307
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.


Top
 Profile  
 
 Post subject:
PostPosted: Mon 26 Jan 2009 04:35 
Offline
Site Admin

Joined: Thu 29 Dec 2005 23:22
Posts: 247
Location: Axbridge, Somerset, UK
Glad that works.

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

_________________
Dave Cooke
BCA Web Services, Hidden Earth Treasurer, National Cave Registry Co-ordinator, CSCC Webmaster


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group