Question: ProxyPass not working??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux