How do I use Iptables to redirect URL
A message that is not in the archive (sent off-list or not yet received): [email protected]
When somebody connect to host A and the URL is "http://www.A.com/A.htm".
I want to redirect to the request to host B and change the URL as "http://www.B.org/B.htm"
How do I set the iptables rule.
,Shaofeng
Quoted 5 lines · shaofeng
When somebody connect to host A and the URL is "http://www.A.com/A.htm".
I want to redirect to the request to host B and change the URL as "http://www.B.org/B.htm"
How do I set the iptables rule.
You cannot redirect an url using iptables.
You can do that in Apache or, if it should be done before apache, in Squid.
Grts,
Rob