• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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