mod rewrite question
Posted: Sat Jul 22, 2006 5:18 pm
Ok, I have mod_rewrite enabled on my server.
I tried to look for some examples but couldn't found somethink like I want.
If someone goes to the URL
http://www.mydomain.com/username/
I want the server to be actually loading
http://www.mydomain.com/users/username/
1. Is this possible with mod_rewrite?
2. What do I have to add to my htaccess file?
Te thing is, I can make something like that if the username is static.
But I need it to be dependent on what the visitors type as URL
I tried to look for some examples but couldn't found somethink like I want.
If someone goes to the URL
http://www.mydomain.com/username/
I want the server to be actually loading
http://www.mydomain.com/users/username/
1. Is this possible with mod_rewrite?
2. What do I have to add to my htaccess file?
Te thing is, I can make something like that if the username is static.
But I need it to be dependent on what the visitors type as URL