[Ilugc] url redirection

  • From: sarav_gsa@xxxxxxxxx (saravanan ganapathy)
  • Date: Mon, 2 Feb 2004 02:00:26 -0800 (PST)

Thx Suraj.

My requirement is like this

http://server1/  to http://server2:8080/

 where server1 is CNAME for server2.

If I use 
  RedirectMatch http://server1/ http://server2:8080/
the redirection doesn't works. 

If I use
 RedirectMatch / http://server2:8080/ ;.

Then http://server1/  redirected to
http://server2:8080/. ;

But here, http://server2/ also redirected to
http://server2:8080/
I just want to redirect http://server1/ only.I don't
want http://server2/ to be redirected.

Pls help me.

Sarav

 


--- Suraj <suraj@xxxxxxxxxxx> wrote:

Gopalarathnam V. wrote on Tue, Jan 27, 2004 at
12:09:23PM +0530: 
,----
| 2) If you're  using Apache web server,  read the
doc  on URL rewriting
| (mod_rewrite).
`----

or   if   the   redirect    is   simple   (like  
http://foo.com/   to
http://bar.foo.com/), you can simply use
'RedirectMatch'.

PS:  Please  remove  unnecessary  quote  of earlier 
mails  from  your
replies.

thanks,

  -Suraj

-- 

+--------------------------------------------------<suraj@xxxxxxxxxxx>--+
|Saving hatred of the wise, is a million times
better than              |
|intimacy of fools, who are more dangerous to deal  
                   |
|(harmful friendship - 6), Thirukkural              
                   |

+--<http://www.symonds.net/~suraj/>-------------------------------------+
_______________________________________________
To unsubscribe, email
ilugc-request@xxxxxxxxxxxxxxxxxx with 
"unsubscribe <password> address"
in the subject or body of the message.  
http://www.aero.iitm.ernet.in/mailman/listinfo/ilugc


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/

Other related posts: