Using Apache as a reverse proxy can cause difficulty when reviewing backend web server logs. The default Apache server configuration will incorrectly log the reverse proxy host as being the origin IP address, instead of the actual IP that sent the request. Luckily there is a pretty simple fix to this using the Apache module mod_extract_forwarded. Using this module is much simpler and easier to install than using the alternative method using the mod_rpaf module.
This guide focuses on Apache installations running on CentOS, however the configuration will be applicable to other Redhat distros too.
First ensure that you have the EPEL repository installed and configured. See here
Install the mod_extract_forwarded Apache module
sudo yum install mod_extract_forwarded
Edit the mod_extract_forwarded.conf, uncomment the MEFaccept line and replace the sample IP addresses with your own reverse proxy IP.
sudo vi /etc/httpd/conf.d/mod_extract_forwarded.conf
Restart Apache to take effect and verify the module is loaded.
sudo service httpd restart
yum list installed | grep forward
In order to install extra packages like PHP, MySQL and other cool stuff in RHEL based distros like CentOS, it’s usually a pretty good idea to configure Yum to make use of the EPEL repository. EPEL stands for Extra Packages for Enterprise Linux.
On the way back home from showing the car to Dale over at Bailey Performance Ltd, the Mk1 suddenly stopped producing boost and lost majority of its power. It was still driving smoothly and sounded okay however I could hear the turbo wasn’t spooling up. Only being a short distance from home I trundled on at a slow speed and avoided putting the engine under any great load.
After a quick inspection as to what was wrong with the engine I removed this from the turbo.
The connecting rod on the waste-gate actuator had snapped, meaning that the waste-gate was uncontrollable and was permanently open. For those who are unfamiliar with how turbo setups work, the waste-gate prevents the turbo from spinning too fast and causing engine damage by diverting exhaust gases away when a predetermined level of pressure is attained. Without sufficient gas flow the turbo is unable to spool up. The waste-gate is only meant to momentarily open to reduce turbo spin, however in my situation today the permanently open waste-gate resulted in no boost being produced at all.
Next on the to-do list.. reattach and re-weld the connecting rod to the actuator.