cPanel/WHM’s annoying default webpage redirect cache

cPanel/WHM's annoying default webpage redirect cache
Solution Edit the following file: /usr/local/apache/htdocs/index.html And add the following line of code in the <head> <meta http-equiv="Pragma" content="no-cache" /> That’s it! The Problem Ever configure something wrong in cPanel/WHM and then you land on the default webpage that looks something like this? Which says something like… Sorry!If you are the owner of this website, ...

How to use NewRelic with SELinux

NewRelic doesn’t seem to work with SELinux out of the box and it appears it’s out of the scope of NR’s support. So, here’s how to run NR while having SELinux protection. First, we’re going to create the rule file: # mkdir ~/newrelic # cd ~/newrelic # nano newrelic.te The contents of the file should ...

Protected: Cron jobs, the pros and cons of multiple ways to set them

This content is password protected. To view it please enter your password below: Password:

Making CSF work with OpenVPN 1

This guide will assume you have both Config Server Firewall (CSF) and OpenVPN already installed and working individually. To make CSF work with OpenVPN, you’ll need to create extra iptable rules. We do that by adding them to csfpre.sh. 1 nano /etc/csf/csfpre.shnano /etc/csf/csfpre.sh If the file does not exist, you can create it. If it ...

Changing Limits for Services with CentOS 7 / RHEL 7 / Systemd 6

Hitting too many open file limit for apache? In the previous OS versions, changing limits like open file number would be set in /etc/security/limits.conf or directly inside the start up script. In some ways the new method brings better organization to the limits, but its change is very confusing to people who were expecting the ...