proxy problem | developer.brewmp.com proxy problem | developer.brewmp.com

Developer

proxy problem

Forums:

hi,
i have the folowing problem:

i'm trying to get a web page from a web server throught a web proxy. Everything works fine, except to the fact that if this web page contains images (wich forces IHTMLVIEWER to make a new web request to get the image), those images are not downloaded via web proxy but directly from the web server.
Below is what i detect using a sniffer:

first call:
Get http://www.mywebserver.com/ HTTP/1.0
Host: proxy.myproxy.com:8082
Connection: Keep-Alive

HTTP/1.0 200
....
bla bla bla

and the second call
Get /myimage.jpg HTTP/1.0
Host: http://www.mywebserver.com
Connection: Keep-Alive

As you can see the second call (wich is done automatically by IHTMLVIEWER wich detects he needs an image) is not throught myproxy, but directly throught mywebserver.com.

My problem is that i want everything to pass through my web proxy (including images). how can i do that?
i'm using IWEB and IHTMLVIEWER.

Thanks in advance.

i found the answer.
i used IHTMLVIEWER_SetIWeb

i found the answer.
i used IHTMLVIEWER_SetIWeb

how did you do it

how did you do it