Archive for January, 2013

Combining REMOTE_ADDR and X-Forwarded-For in apache access_log

Saturday, January 12th, 2013

A great and simple solution to combine the reverse proxy log into access_log

SetEnvIf REMOTE_ADDR “(.+)” CLIENTIP=$1
SetEnvIf X-Forwarded-For “^([0-9.]+)” CLIENTIP=$1
LogFormat “%{CLIENTIP}e %D %u %t \”%r\” %>s %O \”%{Referer}i\” \”%{User-Agent}i\”” trueip_combined

For details: http://blog.grahampoulter.com/2011/10/how-to-log-client-ip-from-apache-behind.html

Mac Mini 2013 model Power Consumption Impact Analysis

Friday, January 4th, 2013

Date of Report: 2013/1/3

Power Consumption: ~0.5 Amp

Mac Mini Specification:

Model: Late 2012
– 2.3GHz Quad-Core Intel Core i7
– 16G RAM
– 256G SSD

 

Mac Mini Power Consumption Before Adding to datacenter: 5.85 Amp

Mac Mini Power Consumption After Adding to datacenter: 5.9 Amp