something that may help (if it works now) is apache's mod_rewrite

i tried it with a beta version mod_webapp and it was overriding all others
modules
may be this has been corrected with the final module

if that's the case, then one just needs to define a rewrite rule (must be
one of the apache rewriting example!!) in apache
to rewrite /foo into /foo/

if someone tries it, let me know if it's working

David
----- Original Message -----
From: "Anton Brazhnyk" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, January 18, 2002 11:28 AM
Subject: RE: apache-tomcat4 connection via WARP


>
>
> > -----Original Message-----
> > From: Young Jun Kim [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, January 18, 2002 11:35 AM
> > To: [EMAIL PROTECTED]
> > Subject: apache-tomcat4 connection via WARP
> >
> >
> > i have apache+tomcat4 with WARP connector(mod_webapp.so).
> > everything works fine except one thing...
> >
> > when i tried
> > http://hostname/examples/
> > default webpage (such as index.jsp, index.html) is displayed correctly.
> > but, when i tried
> > http://hostname/examples  <-- no slash(/)
> > i got internal error (500 error).
> >
> > the strange thing is when i tried http://hostname:8080/examples
> > (when directly access to tomcat4) default page is displayed correctly.
> >
> > other directories not connected to tomcat work fine.
> >
> > does anyone know what's wrong this configuration? is this apache
> > problem? or
> > tomcat4 problem?
> >
>
> I think the question is more general, is it problem?
> Or, maybe, its a favour Apache and Tomcat HttpConnector
> is doing to us?
> I mean there isn't any single word in Servlet spec.
> about serving contexts without trailing slash.
> Yeah, I know we all get used to omit slashes, but it still
> not obvious it MUST work.
> I think we can ask for such feature (but not complain) and so
> hope (but not expect).
>
> I hope they hear our wishes. :)
> Anton.
>
> P.S. Anyone and always can suggest patches :)
>
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
>
>
>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to