Requirements:
* cPanel/WHM server
* cPanel Security Tokens = on (WHM >> Main >> Server Configuration >> Tweak Settings >> Security)
* CurlSSL enabled in cpphp
* PHP Handler “SUPHP”
——————————————————————————————-
Installation instructions:
To install this plugin you will need to insert the partner ID you received from Incapsula.
Please obtain the Partner ID prior to starting the installation.
To beging the installation, run the following shell commands as root via SSH:
1) wget http://cprepo.incapsula-plugin.com/downloads/incapsula-latest.tar
2) tar -xf incapsula-latest.tar
3) cd incapsula-latest
4) sh install.sh <Your partner ID>
5) cd ..
6) rm -Rfv incapsula-latest/ incapsula-latest.tar
——————————————————————————————-
Troubleshooting / FAQ:
Q#1) Have a blank page after clicking the incapsula icon?
A#2) Login to your WHM and go to Main >> Server Configuration >> Tweak Settings >> Security and set cPanel Security Tokens = on.
Q#2) After the installation the plugin does not respond to a new user register or login with existing user?
A#2) You need to enabled CurlSSL in cpphp, run the following shell commands as root via SSH:
/scripts/checkperlmodules –full –force
/etc/init.d/cpanel restart
/scripts/upcp –force
/scripts/makecpphp –force
Q#3) By clicking on the button “Launch Incapsula Dashboard” get a message that says “Token authentication failed, provided token is stale”?
A#3) You must verify with incapsula thet your Partner ID is valid.
——————————————————————————————-
Removal instructions:
Run the following shell commands as root via SSH:
1) wget http://cprepo.incapsula-plugin.com/downloads/incapsula-latest.tar
2) tar -xf incapsula-latest.tar
3) cd incapsula-latest
4) sh uninstall.sh
5) cd ..
6) rm -Rfv incapsula-latest/ incapsula-latest.tar