Thanks.  http://localhost goes to my default.asp in C:\Inetpub\wwwroot.

Yes I understand that.  I wish there was.  There is an index on each of the
subfolders so that http://localhost/examples/jsp does give the index.html lying
in

C:\Program Files\Apache Tomcat 4.0\webapps\examples\jsp

So does http://localhost:8080/examples/jsp

--
George Hester
_________________________________
"Turner, John" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> In your Context for "ROOT", you have path="".  That means
> http://some.domain.com/  What happens when you go to that URL (without
> ROOT)?
>
> Examples goes to a file listing because there is no welcome file defined for
> the examples web application in the default install.
>
> John Turner
> [EMAIL PROTECTED]
>
> -----Original Message-----
> From: George Hester [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 25, 2002 4:32 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Little trouble with IIS 5 and Tomacat 4.0.4
>
>
> The first one.  Because http://localhost/examples worked and ROOT and
> examples
> are at the same level I assumed I should be able to access stuff in the ROOT
> by
> http://localhost/ROOT.  Nope.  Note though that http://localhost:8080 does
> go to
> Root defaulted to index.html and http://localhost:8080/examples does go to
> examples albeit as a file listing.  Obviously it is not working similarly.
> I
> will investigate what you described.  Thanks.
>
> --
> George Hester
> _________________________________
> "Turner, John" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> >
> > I don't use Windows or IIS for servers, so I can only help based on what
> > I've read on this list.
> >
> > In server.xml, everywhere there is something to do with "/examples", you
> > need to duplicate that and change "examples" to "ROOT".
> > uriworker.properties may send the request to tomcat, but if tomcat doesn't
> > have a configuration to match the received request, nothing will happen.
> >
> > My question regarding "ROOT" was trying to find out if you actually mean
> > "http://some.domain.com/ROOT"; or "http://some.domain.com/";.
> >
> > John Turner
> > [EMAIL PROTECTED]
> >
> >
> > -----Original Message-----
> > From: George Hester [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 25, 2002 3:53 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Little trouble with IIS 5 and Tomacat 4.0.4
> >
> >
> > ROOT as in the ROOT folder that was put in C:\Program Files\Apache Tomcat
> > 4.0\webapps\ROOT upon installing Tomcat.  I followed the directions on
> this
> > page:
> >
> > http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/#2
> >
> > and this folder:
> >
> > C:\Program Files\Apache Tomcat 4.0\webapps\examples
> >
> > works just has he says it should.  I do not recall I making any changes to
> > server.xml from what he said other then where he says:
> > _____________________________
> > Edit server.xml file
> >
> > Open the %CATALINA_HOME%\conf\server.xml file for editing
> >
> > The AJP connector is not enabled by default. To enable it, uncomment the
> > following section in $CATALINA_HOME/conf/server.xml:
> > (in original file, its line 74 ;)
> >
> > <!--
> > <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
> > port="8009" minProcessors="5" maxProcessors="75"
> > acceptCount="10" debug="0"/>
> > -->
> >
> > Also note that when placing new files (e.g. jars) into
> %CATALINA_HOME%\/lib
> > edit
> > the wrapper.properties, and make sure to restart WWW Publishing Service
> > (IIS)
> > rather than the Tomcat service in order to have the new libs used by
> Tomcat.
> > ______________________________________________
> >
> > and as that is not specific to "examples" I figured that was not part of
> the
> > solution.
> >
> > You say it is?  Can you be more descriptive?  Like what I need to do?
> > Thanks.
> >
> > --
> > George Hester
> > _________________________________
> > "Turner, John" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > >
> > > Tomcat has to be configured in addition to uriworkermap.properties.  Do
> > you
> > > have a Context in server.xml for that directory?  I'm curious, when you
> > type
> > > "ROOT" do you actually mean a directory called "ROOT" or is that like a
> > > placeholder for something else?
> > >
> > > John Turner
> > > [EMAIL PROTECTED]
> > >
> > >
> > > -----Original Message-----
> > > From: George Hester [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, July 25, 2002 3:22 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Little trouble with IIS 5 and Tomacat 4.0.4
> > >
> > >
> > > I followed this web site to integrate IIS with Tomact:
> > >
> > > http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/#2
> > >
> > > It works fine in the examples folder as how he has it in the test.  But
> I
> > > don't
> > > want that to be the only folder in fact I don't want that folder at all
> to
> > > be
> > > used through IIS.  I would like the ROOT folder to be used.  It seems
> > based
> > > on
> > > his suggestions on how to get Tomcat and IIS to work together I need to
> > make
> > > only one change and that is in:
> > >
> > > C:\Program Files\Apache Tomacat 4.0\conf\ntiis\uriworkermap.properties
> and
> > > that
> > > is this:
> > >
> > > /examples=$(default.worker)
> > > /examples/*=$(default.worker)
> > > /ROOT=$(default.worker)
> > > /ROOT/*=$(default.worker)
> > >
> > > But that didn't work.
> > >
> > > Any ideas how I get the ROOT folder to be used by IIS?
> > >
> > > Right now I get the correct output if I put in http://localhost/examples
> > >
> > > but if I try http://localhost/ROOT I get a Tomacat Error that nothing
> can
> > be
> > > found here.
> > >
> > > --
> > > George Hester
> > > _________________________________
> > >
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>





--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to