> now i change your sample rewrite rule abit to
> RewriteRule ^/(.*?)/(.*)$ /user/$2?user=$1 [L]
> 
> When i tried to access http://www.example.com/me/home.jsp. i 
> got the following error in error_log
> 
> [error] [client 127.0.0.1] File does not exist: /var/www/html/me
> 
> Seems httpd ignore the rewrite rule and try to find the 'me' 
> in the root document directly.

That would probably mean the rule didn't match.  Try it like this:

RewriteRule ^(.*?)/(.*)$ /user/$2?user=$1 [L]


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to