Re: How do I use Iptables to redirect URL

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

 



On Tue, December 12, 2006 08:59, shaofeng wrote:
> 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





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux