Category: Webservers

Determine Most Active Site

On a server with many domains it can be difficult to determine which sites are taking the most traffic. Here’s a one-line that will generate a nice report:

This assumes that (a) log files are in /var/log/httpd, (b)  log

Read More »

Block By X-Forwarded-For In .htaccess

To block access except for a single IP address in the .htaccess file the code is:

If you’re behind a load balancer then you have to use the X-Forwarded-For header instead:

 

Read More »

Reverse Proxy For eScan Web Control Panel

Recently I installed “eScan for Linux Servers” on one of our client’s server. eScan has a great Linux virus scanner. In addition to a command line utility, it provides a web interface. The web interface runs on port 10443 by

Read More »

ServerAlias On Nginx

On Apache web servers, each virtual host has a “ServerName” directive and zero or more “ServerAlias” directives. When converting to Nginx there is only one directive – “server_name” which takes the place of both of the Apache directives. The “server_name”

Read More »

Trustwave Certificate Chain

Had to install an SSL certificate from Trustwave today. The cert was emailed to the customer in a zip file. that contained several formats. For plesk the “.cer” file is the one that we needed. Also for the CA certificate

Read More »

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.