Forum Moderators: phranque

Message Too Old, No Replies

Reverse proxy

graphics don't get served

         

steve8ball

9:10 pm on Apr 19, 2005 (gmt 0)

10+ Year Member



I have my apache 2 webserver inside my firewall. Wanting to have it act as a reverse proxy to an additional web server within our network. I have it partially working, except the graphics from the page off the 2nd web server are not being served to the client. Here's my reverse proxy portion of my cfg:

ProxyRequests Off

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass /asr [192.168.0.9...]
ProxyPassReverse /asr [192.168.0.9...]

Any suggestions?

TIA,

Steve

sitz

12:47 am on Apr 20, 2005 (gmt 0)

10+ Year Member



Aside from the obvious (graphics not appearing in the browser), what's the precise problem? If you're getting 404s, Apache is generally pretty good about letting you know the reason why; likewise for 403s. I suspect you may be running into a situation in which the paths used in the <img src> tags in the HTML don't match the Proxy'd paths being creating with your config; the error_log (on the system being Proxied *to*) would be able to tell you.

steve8ball

3:24 pm on Apr 20, 2005 (gmt 0)

10+ Year Member



No 400 range errors. Page works fine, except for the graphics issue. I'll check w/ our iSeries programmer about checking error logs on the web server being proxied to.

sitz

12:38 am on Apr 21, 2005 (gmt 0)

10+ Year Member



You could also run a traffic sniffer (tcpdump [tcpdump.org], ethereal [ethereal.com], etc) on the proxy host to see what the request looks like, and compare that to what the proxied-to host is expecting.