Search squid archive

Rewriting URL

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

 



Consider the following configuration...

acl host1 dst host1.dom.com
http_port 80 accel defaultsite=host1.dom.com vhost
cache_peer 192.168.1.42 parent 80 0 no-query originserver name=host1server
never_direct allow host1
http_access allow host1
cache_peer_access host1server allow host1
cache_peer_access host1server deny all

This is a case of forwarding requests internal server without changing header.

What changes would I need to make if I wanted to
a) listen for http://www.maindom.com/host1
b) forward these requests to http://host1.dom.com

Thanks in advance


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

  Powered by Linux