Henri Gomez wrote:
Same thing for 404/500/503 I suppose.

Sure.

if (!r->sent_bodyct && r->status >= HTTP_BAD_REQUEST) {
  ...
  return r->status;
}

I added to the conf/web.xml :

  <error-page>
      <error-code>404</error-code>
      <location>/empty-error.html</location>
  </error-page>

  <error-page>
    <error-code>500</error-code>
    <location>/empty-error.html</location>
  </error-page>

  <error-page>
    <error-code>503</error-code>
    <location>/empty-error.html</location>
  </error-page>


I tried with an empty-error.html and then with an inexisting error
page, but I didn't get the ErrorDocument defined in Apache 2.2.x ;(


Right, sorry for the noise.
There is no way to have that at the moment.
The code I've quoted is when there is error in sending the
error page from the Tomcat, so in that case Httpd takes over,
and sends intended page.

For normal replacement of error pages
this would have to be added to mod_jk.
It's a nice feature to have, but you'll have
to wait for 1.2.27 ;)


Regards
--
^(TM)

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

Reply via email to