What is the difference between using mod_proxy_balancer and mod_rewrite?
Basically wanted to do url redirection and load balancing(without modifying the session) of traffic. When I type live.example.com it should get redirected to app server xxx.xxx.xx.xx:8181/live and when I type test.example.com, it should get redirected to xxx.xxx.xx.xx:8181/test.
Config:
OS: centos
Webserver: apache httpd version 2.2.23
From what I understand, I am able to do this with mod_rewrite alone, but can also use mod_proxy_balancer.
Which one should I use? What are pros and cons of using one over another?
0 Answer(s)