Search squid archive

URL Rewrite

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

 



Hi

Currently I am using dstdomain/cache_peer to rewrite url request from
client to backend apache (so squid act as a reverse proxy)
========================

e.g.

acl dstdomain_site              dstdomain       .example.com


cache_peer              192.168.11.123           parent 80 0 no-query
originserver round-robin login=PASS weight=1
cache_peer_access        192.168.11.123           allow dstdomain_site
cache_peer_access       192.168.11.123           deny all
========================


This require my backend apache has a virtual host listening for .example.com

....But how can I manually force rewrite an URL from user, even my
backend apache is not listening example.com?

e.g.

.example.com => .google.com

I remember this can easily done this using apache mod_rewrite
(mod_proxy) but is it possible to be done in squid?

Thanks.

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

  Powered by Linux