On Thu, 2002-09-05 at 13:55, Eric Hollander wrote:
> I did some more research on this.  It looks like it was a Known Bug in
> Tomcat 4.0.2, and it doesn't look like it has been fixed since then (I'm
> using 4.0.4).  Tomcat developers, is there any patch or workaround known
> for this?
> 
> I did some digging in the Tomcat source, and it looks like the html
> error pages are generated by this valve:
> 
> org.apache.catalina.valves.ErrorReportValve

More information:

There's a method in org.apache.catalina.core.StandardHost that does
this:

   private String errorReportValveClass =
        "org.apache.catalina.valves.ErrorReportValve";

So if there were some way to set the value of errorReportValveClass
through a config file, at least I wouldn't have to recompile catalina to
make it show a custom 401 response.  I couldn't find out if this value
is read in from a properties file somewhere, but I sure would love to be
able to not have to recompile catalina to get this to work.

Thanks for any tips.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to