Mod Remote IP
A troubleshooting walkthrough for getting mod_remoteip working correctly under Apache 2.4 and cPanel, including the right LogFormat directives and RemoteIP configuration so that access logs, mod_security, and other modules all see the real client IP.
read more
Mod Rewrite and Blocking Bad Bot
A quick Apache mod_rewrite snippet that returns a 403 Forbidden to any request whose User-Agent matches a bot pattern. Drop it into your .htaccess and you are done.
read more
Mod_qos Tailblock
A lightweight bash script that monitors Apache error logs for repeated access-denied entries and automatically blocks offending IPs via iptables. Useful for quick-and-dirty rate-based blocking without a full WAF.
read more
Mount a Labeled Drive Like Backup
Learn how to mount a filesystem by its label in /etc/fstab so your mount points stay stable across reboots and hardware changes.
read more
Netstat and SS: Check Listening Ports
A quick reference for checking listening ports on Linux using netstat and ss, including the flags that matter and what each output column means.
read more