Home  >  Q&A  >  body text

apache - How to route www.url.com/A and www.url.com/B to different web server processors?

My current understanding is that different web servers listen to different ports. For example, apache listens to 80 by default, and then other web servers listen to other ports, www.url.com/A and www.url.com/B. Both will be resolved to port 80 by default, and I want www.url.com/A and www.url.com/B to be handed over to different web server processors. How to do this?

为情所困为情所困2713 days ago510

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-16 17:03:26

    Domain name resolution, does not include the pathinfo part. So both sites will always be mapped to the same machine.
    If you want to distribute the final service to different servers, please use reverse proxy + load balancing

    reply
    0
  • Cancelreply