1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

HTM as PHP loses binding

Discussion in 'Plesk for Linux - 8.x and Older' started by spandox, Jan 9, 2006.

  1. spandox

    spandox Guest

    0
     
    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
     
  2. spandox

    spandox Guest

    0
     
    Anybody?
     
Loading...