Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

How to use mod_rewrite in Apache to Reverse-Proxy to Another Internal Server


  • Please log in to reply
1 reply to this topic

#1 Guest_slehmann36_*

Guest_slehmann36_*

  • Guests
  • OFFLINE
  •  

Posted 05 November 2014 - 09:21 AM

Hi,

 

I am running a few different web servers on my home network and have found a way of binding each wb server (and any virtual hosts) to domain names and having a "central" web server rerouting a request to the appropriate server using reverse-proy. at the moment, this central web server is IIS (Windows Server 2008 R2) based and it works perfectly. I want to change the central server to an Apache based one.

 

My question is how do you reverse-proxy to a different server on the LAN with mod_rewrite in Apache?

 

Any help will be greatly appreciated.

 

Thanks


Edited by slehmann36, 05 November 2014 - 09:21 AM.


BC AdBot (Login to Remove)

 


#2 Guest_slehmann36_*

Guest_slehmann36_*

  • Guests
  • OFFLINE
  •  

Posted 05 November 2014 - 09:50 AM

I should have given an example.

 

I need the central server to see an incoming http request (e.g sub.domain.com)and reroute that using reverse-proxy to a different web server on my LAN (e.g 192.168.1.122/index.html)






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users