Suphp question and problem

Discussion in 'Installation/Configuration' started by Gimly, Dec 13, 2008.

  1. Gimly

    Gimly Member

    Hi All,

    Actually my server (Debian Etch updated) function only with SuPHP (ispconfig just updated on 2.2.28) and not with mod_php. But I've problem, I want to use .htm and .html on suphp.

    Before I added this .htm, .html in /home/admispconfig/ispconfig/lib/config.inc.php at line :
    Code:
    $php .= "  AddHandler x-httpd-php .php .php3 .php4 .php5\n";
    But now, the line doesn't exist in this file on new ISPConfig version. How can I add this without added in ISPConfig core/file 's ?

    Thanks in advance for your answers :)
     
  2. falko

    falko Super Moderator ISPConfig Developer

    You must modify the function make_vhost() in /root/ispconfig/scripts/lib/config.lib.php.
     

Share This Page