On Mon, 12 Mar 2001, Kenneth Westelinck wrote:
> Hi,
>
> If you want to know exactly how the ApJServMount directive is used
> you should take a look at the documentation included with JServ (at
> java.apache.org).
Thanks for the pointer, but could you be more specific. I looked
through virtually everything off the jserv link off the main page
there (which takes you to http://java.apache.org/jserv/index.html),
and didn't find anything that was helpful. There was one thing
entitled "Using Apache JServ 1.0" that looked like it would cover it
at
http://java.apache.org/jserv/install/index.html
but unfortunately, that link wasn't working (it goes to
http://www.servletcentral.com, which wasn't responding.)
> >From: Milt Epstein Reply-To: [EMAIL PROTECTED] To:
> >[EMAIL PROTECTED] Subject: Servlet via URL of the form
> >http://my.domain.com/blah Date: Sun, 11 Mar 2001 23:11:19 -0600 (CST)
> >
> >
> >If you remember, I and at least one other person were trying to set tomcat
> >up so that a URL of the form
> >
> >http://my.domain.com/blah
> >
> >would invoke a specific servlet in the "blah" context. We were having
> >trouble doing this, and the closest we could come was using
> >
> >http://my.domain.com/blah/blah
> >
> >or
> >
> >http://my.domain.com/blah/servlet/blah
> >
> >Well, it looks like I figured out how to do this.
> >
> >As it turned out, the problem (for me at least), wasn't with how I had
> >tomcat set up -- you see, it wasn't even getting to tomcat, it was being
> >handled by apache. I had just been using the apache/jserv directives as per
> >the sample and documentation on the tomcat page. In particular, the only
> >relevant ApJServMount directive I had was
> >
> >ApJServMount /blah/servlet /blah
> >
> >I'm not sure of the exact syntax/semantics of the ApJServMount directive,
> >but I believe it indicates that URIs of certain forms (e.g. /blah/servlet)
> >should be passed to the specified tomcat context (e.g. blah). So, since all
> >I had was the above directive, only URIs that started with /blah/servlet
> >was being passed to tomcat, and that of course does not include the URI
> >/blah. So I added another directive
> >
> >ApJServMount /blah /blah
> >
> >and after that, I was able to use a URL of the form
> >
> >http://my.domain.com/blah
> >
> >as I originally wanted to.
> >
> >Hope this helps someone else. And if someone understands better exactly how
> >the ApJServMount directive works, please feel free to fill in the details.
> >
> >Milt Epstein Research Programmer Software/Systems Development Group
> >Computing and Communications Services Office (CCSO) University of Illinois
> >at Urbana-Champaign (UIUC) [EMAIL PROTECTED]
> >
> >
> >--------------------------------------------------------------------- To
> >unsubscribe, e-mail: [EMAIL PROTECTED] For
> >additional commands, email: [EMAIL PROTECTED]
> >
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]