modsecurity disable url - How to disable Mod_Sec for a specific domain in cPanel

How to disable Mod_Sec for a specific domain in cPanel

Here is how to disable mod_sec for a single domain name in cPanel. To disable mod_security COMPLETELY, add the following line to the .htaccess file SecFilterEngine Off To only disable HTTP POST scanning, use the following instead: SecFilterScanPOST...

unnamed - Troubleshooting 🕒 cron job issues on cPanel

Troubleshooting 🕒 cron job issues on cPanel

Check if Cronjob is properly created The first thing that we need to check when troubleshooting issues with corn jobs on cpanel is if the corn job is properly created. For this we go to cPanel > Cron Jobs Make sure that the cronjob is listed on...

Copyright David Farrell 2014

wget not working on Linux 😲

wget not working? Add user/agent, for example: Mozilla/5.0 wget -U Mozilla/5.0 or wget -U mozilla By default wget uses an uncommon user-agent Wget/VERSION, which due to various security policies some servers are blocking. To solve this, specify the...

rename session - How to rename an existing screen session in Linux?

How to rename an existing screen session in Linux?

To create a named session use: screen -S testsession to list all session: # screen -ls There is a screen on: 19415.something (Detached) 1 Socket in /var/run/screen/S-root. to rename an active session use -X sessionname screen -S 19415.something -X...

compass - How to enable remote access to MongoDB 🍃 in cPanel

How to enable remote access to MongoDB 🍃 in cPanel

Here is how to enable remote access to MongoDB in cPanel: Open port on the firewallEnable remote access in mongodb.confCreate a new admin user for mongodb Open default MongoDB port 27017 on firewall Default port for mongodb is 27017 so we need to...

df - du and df show different sizes

du and df show different sizes

ncdu / du and df show different sizes: du is reading information from the directory tree, it is more accurate than df but slower.df reads meta data of the file system therefore it is faster, but not that accurate because it works with blocks...

domains - List all Subdomains, Addon domains and Aliases for a cPanel account

List all Subdomains, Addon domains and Aliases for a cPanel account

Here are 2 ways to list all domaind for a cPanel account, including: Subdomains, Addon domains, Aliases and Parked domains. From cPanel Login to the user cPanel and go to “Domains” 2. From the terminal For each cPanel account there is a...