1

Is there a way that I can configure my router to rewrite http requests?

So for example, if:

http://www.example.com/porn.gif 

is being accessed, it'll be re-written as:

http://172.16.0.1/denied.gif

But transparently returned to the client?

Thank you.

2

I don't believe that Cisco IOS supports anything beyond basic interception and redirection of HTTP traffic. Sounds like you want to use WCCP with your router and a separate Squid cache server in an Interception Proxy configuration.

http://wiki.squid-cache.org/SquidFaq/InterceptionProxy#WCCP_-_Web_Cache_Coordination_Protocol

2
  • How can I do an HTTP redirection? That would work for our needs as well. Thanks!
    – ensnare
    May 18 '10 at 6:52
  • See the document I linked above. There are plenty of examples and pointers to Cisco documentation. May 18 '10 at 18:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.