Hi,
I'm looking for some Kind of proxy_pass configuration, as example I have only one external URL, but do have multiple subsites. I like to "Forward" those subsites to different internal URLs:
http://www.example.com -> server1.internal.com
http://www.example.com/test1 -> server2.internal.com/test1
http://www.example.com/test2 -> server3.internal.com/test1
is there any way doing this with cahcheguard?
Thanks and Regards
Fredy
Proxy Pass Functionality
Re: Proxy Pass Functionality
Dear Fredy
CacheGuard does not support the configuration you requested because such a configuration requires that Web applications be written in respect of some constraints (usage of relative links for instance).
Please keep in mind that CG is a generic reverse proxy with some constraints that help avoiding complex issues while remaining compatible with all Web application servers and specific applications.
I suggest that you use the following configuration instead (if possible):
http://test1.example.com -> <ip-address-1>
http://test2.example.com -> <ip-address-2>
http://test3.example.com -> <ip-address-3>
Where <ip-address-?> could be real or virtual IP addresses on the backend Web servers. Then you can use virtual hosts on backend Web servers to get the required configuration.
Best Regards,
CacheGuard does not support the configuration you requested because such a configuration requires that Web applications be written in respect of some constraints (usage of relative links for instance).
Please keep in mind that CG is a generic reverse proxy with some constraints that help avoiding complex issues while remaining compatible with all Web application servers and specific applications.
I suggest that you use the following configuration instead (if possible):
http://test1.example.com -> <ip-address-1>
http://test2.example.com -> <ip-address-2>
http://test3.example.com -> <ip-address-3>
Where <ip-address-?> could be real or virtual IP addresses on the backend Web servers. Then you can use virtual hosts on backend Web servers to get the required configuration.
Best Regards,