AcuNett
04-27-2002, 09:57 PM
Does it work with phtml? Not just php*.
It seems that when it was installed on our servers, .phtml pages came up with a "Page cannot be displayed"
priyadi
04-28-2002, 12:20 AM
Anything in the log files?
kunal
04-28-2002, 04:10 AM
Originally posted by AcuNett
Does it work with phtml? Not just php*.
It seems that when it was installed on our servers, .phtml pages came up with a "Page cannot be displayed"
Do .phtml files get parsed as php files? If not, you will need to add this to your apache config and parse them as php files. Only then will the optimizer parse them.
freakysid
04-28-2002, 04:56 AM
Specifically, in your httpd.conf file you will need the following line:
AddType application/x-httpd-php .phtml
AcuNett
04-28-2002, 11:07 AM
ah ha! there it is :) Thanks guys.
AcuNett
05-03-2002, 07:48 PM
hm... I guess that wasn't the problem. It doesn't read the .php files either.
It reads php files where it's ALL php, but if it's index.php with small php code inserted here and there, it won't work.
I THINK it might be because the html pages are executed through all the php... and the optimiser might not allow it.