Requirements: To establish a online video website similar to YouTube. Server A: (1) Receives the requests from the clients; (2) Judge if the client is our customer; (3) If it's our customer, redirect the link to Server B with the customer's information; Server B: The server providing video files (1) Once receive the request, verify the information; (2) If it passed, provide the online play to the client. In this case, how to set the Apache parameters of the Server B ?
I Think what you need is mod_proxy running as a reverse proxy and maybe lighttpd serving your videos, while checking the db information