Posts by Delta04

    I had to modified the

    Code
    1. AddType application/x-httpd-php .html


    to

    Code
    1. AddType application/x-httpd-php5 .html


    I'm using php-fpm indeed. I include the .html entry on security.limit_extensions and the effect is that the file is not executed, the browser starts to download the file.


    The fpm pool is located in /etc/php5/fpm/pool.d/ isn't it?

    Thanks for the help but it does not solve the problem. The website of a customer has php code inside the normal html file and aparently it's not working.

    I've got an ugly Error 500.


    The .htaccess I use contains,


    Code
    1. RewriteEngine On
    2. RewriteBase /
    3. RewriteCond %{HTTP_HOST} !^www\. [NC]
    4. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
    5. RewriteRule ^(. *).Html $ $ 1.php

    Hello,


    Any idea how to make the "addhandler php html" so that php code to work within html files, by using .htaccess on an i-mscp web server?


    More info: i-mscp 1.1.12, on Ubuntu 14.04 LTS, PHP 5.5.9 and Apache 2.4.7


    Thanks!

    I wonder if in the next version of the Spam Assassin plugin can be implemented a way to modified the Spam Assassin server address. Let's say that the Assassin is not running on the i-mscp server.


    Thanks!

    It was about other tpl and trust me, I know what I'm doing.


    The modified tpl was on the bind side so that it would work correctly under NAT environment. On the latest version and starting with 20140608 build, the setup installer asks and detects if the server is behind NAT. In this case, there is a small bug that will be fixed soon.


    More info, Nuxwin can provide you.