My application has two internal section:
- Upload section url:
%URI%/upload/%action%
- Login section url:
%URL%/Login/%action%
The code for Login section is located on one server 5.123.12.1
, whereas the code for Upload is located on another server 5.123.12.2
.
After the server routing, there will be further routing pertaining to the request parameters or action parameters.
How to construct rules for mod-rewrite and mod-cond in Apache configuration file for the two machines so that the routing can be done?