• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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