• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

HTM as PHP loses binding

S

spandox

Guest
We use .htm as an alias to .php (search engines like .htm more than .php) and (we use .html for more static pages). This is a server wide thing.

In /etc/httpd/conf/httpd.conf I added:
AddType application/x-httpd-php .htm
AddHandler php-script .htm

and this works.........or it starts to. Eventaully individual children start losing the binding. This means that if I look at the page 10 times one of them might just download the php code instead of processing it. Restarting apache fixes it.....for awhile.

I am using Plesk 7.5.4 on Fedora Core (2.6.10-1.771_FC2)
Server version: Apache/2.0.51
Server built: Nov 12 2004 10:10:20

I have done a yum update and yum upgrade and upgraded everything I could within plesk
 
Back
Top