> Use Apache as a Reverse Proxy to another Service

If you've got another web application running on your server, but still want it served up on port 80 or 443 you can use Apache's mod_proxy to forward traffic from Apache to your application. An example would be if your web application is running on http://localhost:8080 you…

> Redirect Web Traffic to Another Sub-domain (e.g. www) or HTTP to HTTPS

Using the mod_rewrite module you can configure Apache to redirect web traffic from one sub-domain to another. Usually used to redirect a bare domain (http://xensoft.com) to the www sub-domain (http://www.xensoft.com). First make sure you're loading the mod_rewrite module in your httpd.conf or…

> Find IPs Accessing your Site Most

cut -d ' ' -f 1 /var/log/httpd/access_log | sort | uniq -c | sort -n 109 192.187.110.211 119 192.187.98.162 132 192.187.114.53 139 192.187.99.202 155 221.7.132.2 List IPs that have made requests to an Apache…