homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

Apache mod_rewrite

10+ Year Member

Msg#: 306 posted 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?



WebmasterWorld Senior Member 10+ Year Member

Msg#: 306 posted 3:02 am on Jul 29, 2003 (gmt 0)

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:

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved