httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lihao0...@gmail.com
Subject [users@httpd] Question: ProxyPass not working??
Date Sun, 06 Apr 2008 00:54:26 GMT
Hi, folks:

On my websites, I want links like the following:

http://example.com/images/pic.jpg

silently grab the image from

   http://192.168.53.93/images/pic.jpg     [internal IP]
     or
   http://imgserver.com/images/pic.jpg     [external IP]

example2.com(192.168.53.93) is a separate(physically) server where we
host all images on our website.  in my httpd.conf, I've added.

    ProxyRequests Off
    ProxyErrorOverride On
    <Location /images>
        ProxyPass http://imgserver.com/images/
               [I also tried the interal IP]
        ProxyPassReverse http://imgserver.com/images/
    </Location>

The above configuration did not work, I get 403 error by visiting
"http://example.com/images/pic.jpg", but I can access
http://imgserver.com/images/pic.jpg from web browser without problem.
[firewall enabled around our Internal NAT]

Really new to configuring ProxyServer, Can anyone tell me what I did
wrong or did I miss out some configuration that is necessary to make
the proxypass working..

Many thanks..

lihao

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message