• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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