Forum Moderators: phranque

Message Too Old, No Replies

redirect

how can I redirect ip on my subnetwork

         

azgezer

3:47 pm on Jun 9, 2004 (gmt 0)



I'm using apache 2.0.49 web server.

I have a adsl connection on my computer. when http request came on my computer. I want to rediret other ip on my sub network...

I used this code
RedirectPermanent / [192.168.0.132...]

when I used this code htis is working on apache server. because apache can find subnetwork. when I tested other machine machine cant find this ip.I know I cant use this solution..
how can I redirect ip on my subnetwork

lemat

4:02 pm on Jun 9, 2004 (gmt 0)

10+ Year Member



you can use mod_proxy -> see manual for examples

gergoe

4:11 pm on Jun 9, 2004 (gmt 0)

10+ Year Member



You might need to consider using some port-forwarding on your machine or on a router (if there's any) instead of using apache as a proxy, unless you have other reasons for running apache. Based on the fact that you want to redirect everything, I have the impression that this is the only reason.