Category: CPanel / WHM

Apache, CPanel / WHM, Installation, Security

How to install mod security in linux server

How to install mod security in linux server   First check mod_security is enabled on the server. If it is not installed than you can install it through easy apache. Run the below commands to create the directory and give proper permissions. mkdir /var/asl mkdir /var/asl/tmp mkdir /var/asl/data mkdir /var/asl/data/msa mkdir /var/asl/data/audit mkdir /var/asl/data/suspicious chown nobody.nobody …

CPanel / WHM, Installation

How to install Softaculous in linux server

How to install Softaculous in linux server Note: Before starting the installation make sure ionCube Loaders are enabled. For that go to WHM and click on Tweak Settings. Please make sure that the Ioncube loader is selected for the backend copy of PHP. Now SSH to your server : Go to the below path cd …

CPanel / WHM, Uncategorized

404 error code for all third party applications

404 error code for all third party applications Copy and paste the code in .htaccess file   For main domain only <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>   Below one for the subdomain   <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /subdirectory/ RewriteRule ^index\.php$ – [L] …

CPanel / WHM

Logs files and Path on Linux server

Logs files and Path on Linux server   General message and system related stuff * /var/log/message Authentication logs /var/log/auth.log Kernel logs /var/log/kern.log Crond logs (cron job) /var/log/cron.log Mail server logs /var/log/maillog Qmail log directory (more files inside this directory) /var/log/qmail/ Apache access and error logs directory  /var/log/httpd/ Lighttpd access and error logs directory  /var/log/lighttpd System …