• Resolved ccnahub

    (@ccnahub)


    Dear Sir,

    You have been always helpful, I have faced a very strange problem with ISPconfig control panel when I use your plugin.

    When I use your plugin at any website hosted under ISPconfig Panel, I can’t login to ISPconfig panel anymore. When I put my credentials, it just return nothing. I thought for a moment that my user name or password is wrong, but usually when this happened, ISPconfig ask me to reset my password.

    But what happens is refuse to login, when I deactivated your Firewall plugin, everything went to normal.

    I look forward for your response.

    Thank you,

    Imad Daou

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

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

    (@nintechnet)

    Hi,

    Did you check the firewall log to see if there was any information?

    In NinjaFirewall “Firewall Policies > HTTP response headers”, did you enable any of the 5 options?

    Thread Starter ccnahub

    (@ccnahub)

    With just plain default options, I haven’t changed any thing. Where can I check the logs?

    Thank you for your help.

    Plugin Author nintechnet

    (@nintechnet)

    To check the log, go to your WordPress admin dashboard and click on the “NinjaFirewall > Firewall Log” menu.

    Thread Starter ccnahub

    (@ccnahub)

    Dear Support,

    I am not using the plugin again at the moment, I will in the future, however, I recommend you download and install ISPconfig from howtoforge.org or download their ready image machine and test it please.

    I believe, it should be easy simple fix. I really liked your plugin, and willing to use it again, however, I will keep you updated once I finalize my server and start using the plugin again.

    Thank you.

    Plugin Author nintechnet

    (@nintechnet)

    Hi,

    If you installed it in your WordPress folder, you would need to whitelist it. ISPconfig is an admin panel, and the firewall could block some actions (writing attempts to config file or database etc).
    To whitelist it, you simply need the .htninja configuration file:

    1. Create a file named “.htninja” in your document root (this is where is located the php.ini or .user.ini file used by NinjaFirewall).
    2. Add this code to it:

    <?php
    /*
     +=============================================================+
     | NinjaFirewall optional configuration file                   |
     |                                                             |
     | See: http://ninjafirewall.com/wordpress/htninja/            |
     +=============================================================+
    */
    
    if (strpos($_SERVER['SCRIPT_NAME'], '/ispconfigfolder') !== FALSE) {
       return 'ALLOW';
    }

    Replace ‘/ispconfigfolder’ with the name of the folder where the ISPconfig admin interface is installed.

    Then, try again to log in to ISPconfig.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘ISPconfig’ is closed to new replies.