tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward W. Rouse" <ero...@vei.net>
Subject Re: servlet at docroot
Date Thu, 13 Jul 2000 17:55:28 GMT
How about --
<Context path="/" docBase="webapps/homeapp" debug="0"
               ^

Ed.

"Shaw, Kendall" wrote:

> Is anyone possibly holding back their thoughts on this?
>
> If it's not possible, I'll add a Redirect to httpd.conf for apache. But, I
> am afraid to do it. Do you know of any browsers that don't handle redirects?
>
> Kendall
>
> > From: Shaw, Kendall [mailto:KShaw@abtcorp.com]
> > Sent: Tuesday, July 11, 2000 1:07 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: servlet at docroot
> >
> >
> > Hi,
> >
> > I'm running tomcat 3.1 with apache 1.3.12 on linux. I want to
> > have my home
> > page be a servlet. For example, http://localhost would run my
> > servlet which
> > then serves either html, hdml, or wml depending on the accept
> > header. How
> > can I do this?
> >
> > I've gotten as far as being able to use:
> >
> > http://localhost/homeapp
> >
> > By:
> >
> > <Context path="" docBase="webapps/homeapp" debug="0"
> > reloadable="true" >
> > </Context>
> >
> > in server.xml and then:
> >
> > ApJServMount /hello /root
> >
> > in httpd.conf.
> >
> > Is there a way to do this without a redirect?
> >
> > Kendall Shaw
> >
> > --
> > My opinions are not necessarily my company's.
> >


Mime
View raw message