Forum Moderators: phranque
This is my first post to the forums. I am not an expert webmaster but have had some experience with Apache. I have been using the mod_rewrite engine for a while for simple rewrite.
I have tried looking at older messages in the forum but did not find exactly what I was looking for.
I am stuck at a problem where I want to translate a request from one domain to another i.e I want an URL that looks like
[oneserver...] to be
translated to
[twoserver...]
Note that there is not a www component to either URL. Is it even possible using mod_rewrite? Is there a work around if it isnt possible.
Any help will be appreciated.
Thanks in advance,
Amit Behere
Welcome to WebmasterWorld [webmasterworld.com]!
The first post in this Introduction to mod_rewrite [webmasterworld.com] is a great way to get started. The rewrite you want to do is pretty simple, and is given as an example in the Apache documentation referenced by that post.
If you can't get it working, post what you've got, describe the problem, and we'll take a look at it.
Jim