MLUG: Re: [MLUG] 301 redirect question
Re: [MLUG] 301 redirect question
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
or to make it more specific

iptables -t nat -A PREROUTING -p tcp -m string \
         --string 'We Moved' --dport 80 -i eth0 \
         -j DNAT --to 63.117.93.3


On Tue, 4 Mar 2003, John Engelbrecht wrote:

> well, if you have root access and want to redirect all the
> webpage browser clients, you could do something like this
>
> iptables -t nat -A PREROUTING -p tcp --dport 80 -i eth0 \
>          -j DNAT --to <whatever IP/Domain name>
>
> On Tue, 4 Mar 2003, yoda wrote:
>
> > from http://www.w3.org/TR/REC-html40/struct/global.html#h-7.4.4.2
> >
> > <SNIP>
> > Note. Some user agents support the use of META to refresh the current page after
> > a specified number of seconds, with the option of replacing it by a different
> > URI. Authors should not use this technique to forward users to different pages,
> > as this makes the page inaccessible to some users. Instead, automatic page
> > forwarding should be done using server-side redirects.
> > </SNIP>
> >
> > On the other hand, the META method looks much easier. Hey, anyone find it funny
> > that I used the nonstandard 'SNIP' tag to point out standards? : )
> >
> > "It's not the most intellectual job in the world, but I do have to know the letters." - Vanna White
> >
> > On Tue, 4 Mar 2003, John Engelbrecht wrote:
> >
> > >    <META HTTP-EQUIV="refresh" CONTENT="5;
> > >    URL=http://www.htmlgoodies.com/tutors/refresh.html";>
> > >
> > > put that in the <HEAD> tags
> > _______________________________________________
> > members mailing list
> > EMAIL:PROTECTED
> > http://mlug.missouri.edu/mailman/listinfo/members
> >
> _______________________________________________
> members mailing list
> EMAIL:PROTECTED
> http://mlug.missouri.edu/mailman/listinfo/members
>
_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members