Search squid archive

Rewrite url to remove folder path

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

 



I am testing squid as a reverse proxy in front of a website. What I am trying
to do is to get some media files from a different server when they are
requested from the main site, example: 

If I try to access proxy.mysite.com/media/images/image.jpg, the site
actually gets the image from a different server, in this case from the
rackspace cloudfiles cdn. I can get squid to use the cdn domain when getting
the files however it still tries to get in from /media/images on the
destination server which will not work. What I need to do is instead of
making squid get the file from: 

somecontainer.rackcdn.com/media/images/image.jpg 

it actually gets: 

somecontainer.rackcdn.com/image.jpg 

How would I go about this?



--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Rewrite-url-to-remove-folder-path-tp4657992.html
Sent from the Squid - Users mailing list archive at Nabble.com.


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux