I have a URL:

http://test.webservices.illinois.edu/bob/calendar/list/7

I want to rewrite the URL internally so apache sees it as the following tomcat 
mod_jk URL:

http://test.webservices.illinois.edu/calendar/list/7

BUT I don't want to redirect.  I want apache to see the URL internally as the 
above.  So the URL in the persons browser still show "bob".

I used the below RewriteRule but it gives me a 404:

RewriteRule ^/bob/calendar/(.*) /calendar/$1 [L]


If I change the rule to the below it then works but the URL in the browser is 
changed to exclude "bob".  I believe the "R" is telling the browser to redirect:

RewriteRule ^/bob/calendar/(.*) /calendar/$1 [R,L]

Is there a different command other than [L] I should use to tell apache to 
rewrite the URL internally?  Or is my issue related to the fact that I am 
pointing to a URL that goes to mod_jk?

Thanks,

Lance Campbell
Software Architect/Project Manager/DBA
Web Services at Public Affairs
217.333.0382

Reply via email to