Reply To: Separate rewrite rules for two virtual host apps running on same tomcat server

Splash Forums Rewrite Users Separate rewrite rules for two virtual host apps running on same tomcat server Reply To: Separate rewrite rules for two virtual host apps running on same tomcat server

#27525

eframsergio
Participant

Just a quick comment… I’m seeing some strange behavior.

I noticed that I need to have this setting in the <Host> section of the server.xml configuration file in order for rewrite to work correctly on my second app.

<Context docBase=”my-second-app” path=”/my-second-app” reloadable=”true” source=”org.eclipse.jst.jee.server:my-second-app”/>

Does this make any sense? And why does this only affect my second app, but not the first one?

Thanks in advance!