Rewrite map

Giganews Newsgroups
Subject: Rewrite map
Posted by:  Alexander (electricdum…@hotmail.com)
Date: Thu, 9 Jul 2009

Ls,

I'm a noob to Apache since I have always used a hosted server on which I had
no access to many things.
since a short while my provider allowed me to use .htaccess (I still have no
control over the kernell).

I want to have the server to change all request from one map (and subs) to
another.
Let's say a visitor wants to access "www.xxx.com/en/index.php" and want the
server to serve "www.xxx.com/en-us/index.php"
The same is true for all the other (sub)maps and files in the map.
Because it may change in the future I don't want the users to see the
change, so I don't want to use a redirect.

Can anyone tell me how to change .htaccess to do this?

ThanX in Advance

Alexander

Replies