Can you please send me the DNS way to redirect the URL. I also would like to
know about apache redirect/rewrite methods!!

Thank you
kapil
Robert Soros wrote:

> There are two ways that you can do this, the way is easy, assuming you
> have write access to http://foo.com
> Insert this meta tag into the index.html of http://foo.com
>
> <META HTTP-EQUIV="refresh" content="2;URL=http://www.foo.com/">
>
> so the beginning html head and title will look something like this
>
>         <HTML>
>         <HEAD>
>         <META HTTP-EQUIV="refresh" content="2;URL=http://www.foo.com">
>         <TITLE>Page has moved</TITLE>
>         </HEAD>
>         <BODY>
>         This page has moved. If your browser does not automatically
>         redirect you in a few seconds, click <A
>         HREF="http://www.yoursite.com/newpage.htm">here</A> to go to the
>         new page
>         </BODY>
>         </HTML>
>
> this will pause the browser 2 seconds before redirecting the user to
> www.foo.com, insert any value you like in there, but if you
> decide to go with a small value like 0, expect some nasty email from
> visitors :)
>
> the other way is a bit more difficult and uses DNS, if you really want
> to get into it, I can show you how, its a more elegant solution imo.
>
> Robert Soros
> [EMAIL PROTECTED]
> http://soros.ath.cx
>
> > Hi,
> > I am using apache 1.3.12 with Redhat 6.2. I want to redirect  one url to
> > other url. For example if some request comes for
> > http://foo.com
> > then the url should redirect to
> > http://www.foo.com
> >
> > What should i do for that?
> >
> > Thank you
> > kapil
> >
> >
> >
> >
> > _______________________________________________
> > Redhat-list mailing list
> > [EMAIL PROTECTED]
> > https://listman.redhat.com/mailman/listinfo/redhat-list
> >



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to