Please help

Discussion in 'Server Operation' started by bobcoder, Dec 23, 2011.

  1. bobcoder

    bobcoder New Member

    Hi All
    I've scoured the internet looking for an answer to this little poser.

    were do I make the change so my clients can run php on a .htm or .html page.

    I know this is not graceful but its a site i have inherited from a client. It will not run on my server.....
    Fedora 15
    Apache 2*
    php 5

    Please help. I've tried all sorts .htaccess code , php.ini changes, vhosts changes.
    Lost Lost

    Thank you
     
  2. kings

    kings Member

    Post more about your qustion

    This server are working with Ispconfig or not, have webmin or not; post your configs for httpd, php ?
    When we all may be help you.
    And now ISPConfig for Balkan languages, wishes you and your family
    Merry Christmas and Happy New Year! We wish you good health, and chances mngo success, plenty of money in this crisis
     
  3. falko

    falko Super Moderator Howtoforge Staff

    You must add .html and .htm to the AddType application/x-httpd-php line, like so:

    Code:
    AddType application/x-httpd-php .php .php3 .php4 .php5 .html .htm
     
  4. bobcoder

    bobcoder New Member

    I've added this and it still makes no difference. Where should i add it? i put it in an htaccess file and in the vhost file for the domain.
    ISPConfig 3 i'm using.

    Happy new year and thanks
     
  5. White

    White Member

Share This Page