You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Glenn Nielsen <gl...@voyager.apg.more.net> on 2000/08/16 21:17:38 UTC
[BUG] PrefixMapper.getLongestPrefixMatch()
If Tomcat can't find a matching prefix in
PrefixMapper.getLongestPrefixMatch()
it stays in an endless loop.
I'm not sure what the best way to exit gracefully
and return a NOT FOUND for the request is.
Someone familiar with this code want to handle this?
Glenn
----------------------------------------------------------------------
Glenn Nielsen glenn@more.net | /* Spelin donut madder |
MOREnet System Programming | * if iz ina coment. |
Missouri Research and Education Network | */ |
----------------------------------------------------------------------
Re: [BUG] PrefixMapper.getLongestPrefixMatch()
Posted by Glenn Nielsen <gl...@voyager.apg.more.net>.
To reproduce this bug configure a remote Apache web server using mod_jserv
to connect to tomcat without tomcat webapps Alias'd into the apache
web space. Like this:
ApJservMount /someurl some.tomcat.host/somewebapp
Where the first ApJservMount path is different from the
webapp context being mapped to, and the /someurl does
not exist as a webapp path on Tomcat.
The PrefixMapper.getLongestPrefixMatch() then goes into
an infinite loop.
Glenn
Glenn Nielsen wrote:
>
> If Tomcat can't find a matching prefix in
> PrefixMapper.getLongestPrefixMatch()
> it stays in an endless loop.
>
> I'm not sure what the best way to exit gracefully
> and return a NOT FOUND for the request is.
>
> Someone familiar with this code want to handle this?
>
> Glenn
>
> ----------------------------------------------------------------------
> Glenn Nielsen glenn@more.net | /* Spelin donut madder |
> MOREnet System Programming | * if iz ina coment. |
> Missouri Research and Education Network | */ |
> ----------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
--
----------------------------------------------------------------------
Glenn Nielsen glenn@more.net | /* Spelin donut madder |
MOREnet System Programming | * if iz ina coment. |
Missouri Research and Education Network | */ |
----------------------------------------------------------------------