RE: [EMAIL PROTECTED] mod_rewrite and mod_jk help

2007-06-09 Thread Allen Pulsifer
> 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

RE: [EMAIL PROTECTED] mod_rewrite and mod_jk help

2007-06-08 Thread Rony
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

RE: [EMAIL PROTECTED] mod_rewrite and mod_jk help

2007-06-08 Thread Allen Pulsifer
> 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 >