apache - Using Tomcat's Rewrite Valve -


i trying use tomcat's rewrite valve rewrite url not show webapp name.

the current url looks http://example.com/thingstuff. still url point thingstuff app, users see http://example.com/differentstuff.

i have not found comprehensible solution on google yet, appreciate can here.

thank you, brandon

you can configure rewriterule below

rewriterule /differentstuff /thingstuff [r,ne]

for more details, refer tomcat rewrite valve

if doing first time, there possibility server not configured read rewrite.config

the below post verify , correct that.

tomcat 8.0 rewrite valve


Comments