Hey all,

I'm trying to setup a Tomcat-run JSP page as the local URL of a
ErrorDocument 404 directive in a virtual host on my Apache web server.

The local URL may, depending on whether I'm in dev or prod environment, use
an Apache alias that translates to a Tomcat context. That is, featuring
some leading "/foo/," where "/foo" is a httpd.conf's Alias directive as
well as a server.xml's Context node "path" attribute.

The thing is, such a setup works fine on my configuration with a HTML file
or Perl script. Yet it refuses to work for a JSP file. It seems to work
when the URL is provided as an external one ("http://..."), which I want to
avoid like plague since it implies more maintenance and, furthermore,
strips out the 404 code in the process.

What am I forgetting or doing wrong?

PS: Replies copied to the email below appreciated, since I'm not currently
reading the list itself.

Thanks!

--
Christophe @ Posse42.net
L'API qui chante du potager du Web.
Email : [EMAIL PROTECTED]
http://www.posse42.net

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/IT/TW d- s+: a-- C++(+++)$ UBL+(+++) P--- L+ !E W+++$ N++ o? K?
w++(+++)$ O M(+) V? PS+(++) PE+ Y+ PGP+>++ t-- 5 X+@ R>+ tv- b+++
DI+ !D G++ e+++>++++* h r++()>+++ y+@
------END GEEK CODE BLOCK------



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

Reply via email to