> 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 th
Thanks Allen for your reply.
in my setting, the /user/ has a home.jsp. if i access normally to
www.example.com/user/home.jsp it works (i've set in /etc/hosts to point
www.example.com to 127.0.0.1). the /user/ is in the tomcat, connected
via mod_jk.
now i change your sample rewrite rule abit to
Re
> Now want when a user browse www.example.com/someusername/
> httpd will forward the request to
> www.example.com/user/?user=someusername
>
> And when browse a user browse
> www.example.com/someusername/login/ httpd will forward the
> request to www.example.com/user/login/?user=someusername
>