SarumonX Posted January 20, 2009 Share Posted January 20, 2009 Hello, We have 3 different web servers en now I am trying to redirect someone to the right web server by using mod-rewrite. I don’t seem to get it working in the way that I want it to so I hope someone here is willing to help me out. We have an url like this: http://www.example.com/?web=example1.com&da1=data1&da2=data2 Now I need a rewrite rule that looks at the web= parameter and when web=example1 it should rewrite to http://www.example1.com/?web=example1.com&da1=data1&da2=data2 And offcourse when web=example2 it should rewrite to: http://www.example2.com/?web=example1.com&da1=data1&da2=data2 I am trying for a while now and I completely lost track of what to do. I have read a lot of tutorials, but I wasn’t able to fix it. I hope someone can help me out and tell me if my whishes are possible and how they are possible. Thank you all in advance !! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.