Forum Moderators: phranque

Message Too Old, No Replies

Pass ip with proxypass

Use proxy pass with ip addresses

         

kmax

7:45 pm on Jun 14, 2006 (gmt 0)

10+ Year Member



Hello, I have proxypass working like this:
ProxyPass /proxyname/ [11.11.11.11...]

Then if I browse to
[domain.com...] it sends me to [11.11.11.11...]

I need to do that same thing but only with IP Address. Something like this:

ProxyPass 11.11.11.11 22.22.22.22

So that if a script on my server looks for 11.11.11.11 the server will send it to 22.22.22.22

I have tried chaning up the way I do the proxypass with no luck.

Anyone know how this can be done?

kmax

3:36 pm on Jun 15, 2006 (gmt 0)

10+ Year Member



Does anyone know if there is a way to forward an ip address to another in apache?

I thought I could do it with proxypass but that wont work in this case...

I need just the ip address with http:// or any slashes on it because the ip goes into an activex control.

Like this:
11.11.11.11 forwards to 22.22.22.22

kmax

5:48 am on Jun 16, 2006 (gmt 0)

10+ Year Member



I just thought of an easier way to explain what i am looking for.

i have an activex control that has an IP Address parameter in it. You cannot have http:// just an ip address.

I would like to be able to put a "fake" address in there so if people view the source they dont see the real address.

But I would need apache to actually send the data to the real ip address.

i have tried proxypass but you have to have the http on there so it does not work.

any tips?

kmax

6:30 am on Jun 16, 2006 (gmt 0)

10+ Year Member



I have an activex control that has an ip address paramater. If users view the source they can see the reall ip.

I would like to be able to make up a "fake" ip to put in there.... then have apache actually see it as the real ip.

Tried proxypass. No dice.
I think its because proxypass needs a full url with http:// on it.

Anyone know how to get apache to see one ip address as another behind the scenes?

So when the user runs the web page the activex control can have a fake address in it?

thanks