Eric B. wrote:
JK version 1.2.10 is very old. A lot of things changed until we now
reached 1.2.25. Typically backend problems will be answered with a non 200
status code. Try a more recent version (like 1.2.25).
Thanks for the tip. I did just that and upgrade to 1.2.19 (I couldn't find
any binaries for 1.2.25 compiled for http 2.0.52 - running CentOS4 and the
latest httpd is 2.0.52-32 - would any binaries later than 1.2.19 work on
that build?), and the status codes are returning properly now. I get 503
my first suggestion would be the same as Christophers. If you really
can't build it, there should be no module imcompatibility between a
download of mod_jk for 2.0.52 or 2.0.59. The more problematic question
is the compatibility of your variation of Linux httpd build, and the one
you will find as a download.
when my tomcat server is down, which made it very easy to then configure
Apache with a standard ErrorDocument 503 msg in httpd.conf.
However, this does raise an interesting question for me now. I haven't
tried this, so don't know if/how it would work. If I am mapping an entire
directory in my virtual host - ie: <Virtual Host>JkMount
/tomcat/*</VirtualHost> and my tomcat server is unavailable, it will return
a 503 error status, which httpd will then respond with an appropriate error
document. Can I customize the error page on a per mount basis by creating a
.htaccess file in my /tomcat/ directory within my httpd file workspace?
Given that httpd is supposed to be ignoring that directory altogether (ie:
passing all requests over to tomcat thru the jk connector), will it even see
/ read the .htaccess file? If not, do I need to manually add a JkUnmount
/tomcat/.htaccess command? Or is there a better way to do this to have
apache still read the .htaccess file even if the entire path is mapped to a
jk connector?
I would expect, that you can use the ErrorDocument directive of Apache
httpd also inside a Location directive.
<Location /tomcat/app1>
ErrorDocument 503 /error-docs/app1/error.html
</Location>
That should be compatible with mod_jk. If it works, let us know.
Thanks for the info / help!
Eric
(sorry if this is posted multiple times - I seem to be having trouble with
my relay server)
Regards,
rainer
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]