tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Bug 49914 or I can't map to / anymore?
Date Tue, 01 Mar 2011 19:48:48 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Leon,

On 3/1/2011 11:49 AM, Leon Rosenberg wrote:
> concerning https://issues.apache.org/bugzilla/show_bug.cgi?id=49914.
> 
> I have a filter which listens on /. This filter is used to manage
> different welcome pages for different urls on a multiurl site.
> It works like in (pseudocode)
> if (req.getServerName().equals("bla")) forward to blurp;
> if (req.getServerName().startsWith("specialoffer")) forward to xyz;
> and so on.
> 
> 
> With tomcat 7 it stopped to work due to above bug. Now the bug is set
> to won't fix, how can we achieve same behavior without the mapping?

How about using <url-pattern>/*</url-pattern>?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1tTaAACgkQ9CaO5/Lv0PDIQgCfbbzZvHG7h3IeZHYhODovaxmk
OeIAoL0BycUiWSqvc4jLiWZM63LNS6Qh
=Ph+j
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message