Replogle, Andrew wrote:
Unfortunately, in IIS, 400, 403.9, 411, 414, 500, 500.11, 500.14,
500.15, 501, 503, and 505 codes are all uncustomizable, so if I were
going to do this anywhere, it would have to be done at the plugin level
=[

Does anyone know if its possible to change the default page of:

"Service temporary unavailable!

The server is temporarily unable to service your request due to
maintenance downtime"

To point to a custom page? I looked through the workers.properties and
uri properties references and couldn't find any directives to specify
such a page.

The feature doesn't exist. Please file an enhancement request in bugzilla.

If you can compile the plugin yourself, you could in the meantime redefine

char HTML_ERROR_503[]

in iis/jk_isapi_plugin.c. The variable contains the HTML response page used by the redirector for 503 status.

Regards,

Rainer

TIA,

Andrew
-----Original Message-----
From: Len Popp [mailto:[EMAIL PROTECTED] Sent: Monday, July 07, 2008 12:35 PM
To: Tomcat Users List
Subject: Re: Mod_JK / Tomcat Connector Default Maintenance Page

Since you're running Tomcat behind IIS, you should be able to configure
a custom page in IIS for HTTP 503 errors. I know this is possible with
the Apache web server, I suppose IIS can do it too.

(Tomcat's error-page directive doesn't work because the webapp, or all
of Tomcat, is down so it can't generate a custom error page.)
--
Len


On Mon, Jul 7, 2008 at 13:08, Replogle, Andrew
<[EMAIL PROTECTED]> wrote:
Hello,

I've noticed that when my tomcat instances are down and the ajp
transports unreachable the tomcat connector displays a generic
maintenace page. Is there a way to tell the tomcat connector to point
to
a custom site-down / maintenance page?

I'm using version 1.2.26 of the Isapi redirector with IIS 6.


TIA,

Andrew

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to