View Single Post

  #6 (permalink)  
Old 04-07-2004
bengee
 
Posts: n/a
Default Re: mod_rewrite question

Richard Antony Burton wrote:
>>I take it when the broswer asks for "img/whatever.gif", apache then
>>sends back a redirect to the www.benzalez.plus.com site?

>
> Easy way to tell is to look at the image properties in the browser, if it says
> the image is located on the ISP site then you have what you want, if it claims
> to be from your own server then you know it wasn't redirected (so probably
> proxied).


I looked at the image properties in my browser (Mozilla) and it says
that the images come from my own server (2halfs.com). However, i tricked
my webserver into thinking that www.benzalez.plus.com was somewhere else
(edit /etc/hosts), and voila... the graphics still loaded in the
browser. I then tricked my windows/web browser machine into thinking
www.benzalez.plus.com was somewhere else (edit hosts files)... guess
what? graphics couldn't be loaded.

This confirms to me that it's the web browser that is trying to grab the
images of www.benzalez.plus.com, and NOT my webserver :-)

Thanks all

Ben