LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Squid / Apache as caching server for remote xml feeds (https://www.linuxquestions.org/questions/linux-software-2/squid-apache-as-caching-server-for-remote-xml-feeds-470037/)

jimchristy 08-02-2006 07:13 AM

Squid / Apache as caching server for remote xml feeds
 
Hi all,

I am trying to use Squid to cache xml feeds from an external domain (outside of my network). I want this to be used by internal scripts, not specifically by users. So currently i have Squid intercepting traffic on port 8081 which then passes requests off to apache and caches anything cacheable. This is fine for caching local files (if a little pointless) but what i actually want to do is alias my apache server to actually call the external domain.

So requests to:
localhost:8081/feed_xml.asp?type=1&search=news

should really call (and cache):
external-feed-site.com/feed_xml.asp?type=1&search=news

I've tried using jesred as Squid's redirector program, but that only seems able to redirect internally.

If anyone's got any ideas i'd be very grateful!

Thanks
Jim


All times are GMT -5. The time now is 04:05 AM.