• Resolved paulbntz

    (@paulbntz)


    Hi nintechnet, what directive i have to add to my htaccess file when i have this scenario:

    “If the script returns that the firewall is loaded, it means that your php.ini is not recursive and that you need to add either the suPHP_ConfigPath or PHPRPC directives to your .htaccess.”

    I do not know exactly what line i have to insert to the htacces file.

    Any help?

    Thanks.

    https://wordpress.org/plugins/ninjafirewall/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nintechnet

    (@nintechnet)

    Hi,

    You can have a look at this article: http://blog.nintechnet.com/troubleshoot-ninjafirewall-installation-problems/

    1) PHPRC: this is done by adding the full path to the php.ini file to the PHPRC variable. For instance:

    <IfModule mod_env.c>
       SetEnv PHPRC /full/path/to/your/php.ini
    </IfModule></textarea>

    2) suPHP_ConfigPath: this is done by adding the full path to your website document root to the suPHP_ConfigPath variable. When installing NinjaFirewall, select “Apache + suPHP” and it will give you the correct instruction for your server. It will be similar to this:

    <IfModule mod_suphp.c>
       suPHP_ConfigPath /full/path/to/your/documentroot/
    </IfModule>

    Thread Starter paulbntz

    (@paulbntz)

    Hi again,

    I have made the steps of point 1 with success.

    Now i have the firewall enable and running.

    Thanks.

    Regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘TroubleShooting installation problem’ is closed to new replies.