ccrevcypsys Posted June 4, 2008 Share Posted June 4, 2008 Sorry everyone but i have never used a custom extention for any website i have ever worked on. now i was handed this one and i am trying to get the virtual server (Linux on godaddy) to let this extention work by using this line AddType application/x-httpd-php .php .php3 .phtml .foo in the httpd.conf file and it still wont let .phtml files work... does anyone know what is going on? oh and its an apache service Link to comment https://forums.phpfreaks.com/topic/108736-solved-phtml-problems/ Share on other sites More sharing options...
ccrevcypsys Posted June 4, 2008 Author Share Posted June 4, 2008 Or is there going to be a problem if i just change .phtml files into php files? Link to comment https://forums.phpfreaks.com/topic/108736-solved-phtml-problems/#findComment-557597 Share on other sites More sharing options...
discomatt Posted June 4, 2008 Share Posted June 4, 2008 You'd have to change all references within the script... form actions, includes, hyperlinks I've never run into a problem like this before... perhaps putting the AddType into an .htaccess file in the webroot might do it. Link to comment https://forums.phpfreaks.com/topic/108736-solved-phtml-problems/#findComment-557600 Share on other sites More sharing options...
ccrevcypsys Posted June 4, 2008 Author Share Posted June 4, 2008 GENIUS THAT WORKED OLD CHAP!!!!! hahahahah yes thank you if you jsut add that line to the .htaccess it works gj man Link to comment https://forums.phpfreaks.com/topic/108736-solved-phtml-problems/#findComment-557603 Share on other sites More sharing options...
discomatt Posted June 4, 2008 Share Posted June 4, 2008 Glad i could help, if you could mark the topic as solved it would be much appreciated Link to comment https://forums.phpfreaks.com/topic/108736-solved-phtml-problems/#findComment-557615 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.