Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Apache mod_rewrite



11:46 am on Jul 26, 2003 (gmt 0)

looking on the net i find very userfull thik - hov to make easy URL like this: [xyz.com...]
not like this:
this is only ex. bu idea of this is to make easy and search/user friendly URL.
I want to do using mod_rewrite something like this:
any request form [xyz.com...]
will open [xyz.com...] where .... is anythink, user in his browser will have URL like this [xyz.com...] but in real will be open [xyz.com...] - in this file script will be translate URL and use data stored in him.
Now I using something like this, but this don't work:

DocumentRoot D:/Apache2/www/site/
ServerName site.comm
RewriteEngine on
RewriteRule ^.*$ D:/Apache2/www/site/index.php [l]

Can anyone help me?


3:02 am on Jul 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

Hi slash, welcome to WebmasterWorld! :) It seems English may not be your primary language, I had some difficulty understanding your post.

The problem you want to address has been discussed here many times, doing some searching may help. And it may be easier to get a full understanding of the subject by reading these pages:


Featured Threads

Hot Threads This Week

Hot Threads This Month