Skip to main content

Posts

Showing posts from June, 2011

Client IP Filtering in Weblogic and Apache through Load Balancer (F5 Big IP LTM)

Client IP Filtering in Web servers through Load Balancer 1    IP Web Filtration in Apache HTTP Web server 2   IP Web Filtration in Oracle Web Center  Suite on Windows Server 2003 . 7 3   I P Web Filtration in Oracle Bea Weblogic on Linux 1        IP Web Filtration in Apache HTTP Web server Following were the key steps used to configure filtration of client IP in access logs of apache HTTP server: 1.1.     Installing  Apache on Linux ( in our case its Ubuntu 10.10) 1.2.    Configuration of X-Forwarded-For in Apache configuration file 1.3.    Creating HTTP profile in Load balancer and enabling X-Forwarded-For 1.4.    Verifying the logs 1.1   – Installing  Apache on Linux ( in our case its Ubuntu 10.10) #apt-get install apache2 1.2   Configuration of X-Forwarded-For in Apache configuration file # nano /etc/apache2/apache2.conf Now replace the %h variable with {X-Forwarded-For}i as shown below in apache2.conf file LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\"