I *don't* want to change that order. On Tue, 17 Dec 2002 09:55:06 -0500, Cox, Charlie wrote: >check out conf/web.xml and its <welcome-file-list>. there you can >set the >order of welcome pages to load.(index,jsp first, then index.html, >etc) > >Charlie > >>-----Original Message----- >>From: J. Norment [mailto:[EMAIL PROTECTED]] >>Sent: Tuesday, December 17, 2002 9:03 AM >>To: Tomcat Users List >>Subject: RE: Virtual Domains with Tomcat 4.1.12 Standalone >> >> >>Hmm. I think the answer to your question is "no" -- I am >>trying to get a very basic version of virtual domains >>working. I noted in the past that renaming index.jsp to >>index.notjsp and putting an index.html file in the /ROOT >>directory resulted in tomcat loading index.html. >> >>So... I'm trying to load index.html in a directory where no >>index.jsp exists. ( Should have the same result: >>[webapps/host0/]index.html should be loaded, assuming that >>Tomcat process the virtual host as I want it to. ) >> >>BTW: If I want a .jsp to be loaded instead of an .htm or >>.html (default behavior?) if both exist in the directory, Do >>I need that step with the web.xml file? >> >> >> >>On Tue, 17 Dec 2002 08:28:11 -0500, Turner, John wrote: >>> >>>You want index.html to show instead of index.jsp? My tongue-in- >>>cheek >>>response is "rename index.html to index.jsp". Another response >>>would be >>>"check the welcome file element in web.xml for your webapp". >>> >>>John >>> >>> >>>>-----Original Message----- >>>>From: J. Norment [mailto:[EMAIL PROTECTED]] >>>>Sent: Tuesday, December 17, 2002 8:21 AM >>>>To: Tomcat Users List >>>>Subject: RE: Virtual Domains with Tomcat 4.1.12 Standalone >>>> >>>> >>>>webapps/host0/index.html . >>>> >>>>On Mon, 16 Dec 2002 18:46:28 -0500, Turner, John wrote: >>>>> >>>>>I'm sorry, what's wrong isn't exactly clear from your post. >>>>>What >>>>>should >>>>>http://host0.com show besides the default welcome page? >>>>> >>>>>John >>>>> >>>>> >>>>>-----Original Message----- >>>>>From: J. Norment [mailto:[EMAIL PROTECTED]] >>>>>Sent: Monday, December 16, 2002 4:27 PM >>>>>To: Tomcat Users List >>>>>Subject: Virtual Domains with Tomcat 4.1.12 Standalone >>>>> >>>>>I haven't seen this question answered yet: >>>>> >>>>>I'm trying to set up virtual domains with Tomcat 4.1.12. ( Not >>>>>running >>>>>Apache ) >>>>>I have modified my server.xml file as follows. >>>>> >>>>>webapps/host0 contains a basic index.html . >>>>> >>>>>What might I be doing wrong? >>>>>(http://host0.com shows the default index.jsp. ) >>>>> >>>>>Is there a way to see the information that Tomcat receives when >>>>>http://host0.com is requested? >>>>> >>>>>( thanks ) >>>>> >>>>> >>>>><!-- Define the default virtual host --> >>>>><Host name="localhost" debug="0" appBase="webapps" >>>>>unpackWARs="true" autoDeploy="true"> >>>>> >>>>><!-- This part is added: --> >>>>> >>>>><Host name="host0.com" debug="0" appBase="webapps/host0" >>>>>unpackWARs="true"> >>>>><Logger className="org.apache.catalina.logger.FileLogger" >>>>>directory="logs" prefix="host0." suffix=".log" >>>>>timestamp="true"/> >>>>><Context path="" docBase="webapps/host0" debug="0" >>>>>reloadable="true"/> >>>>><Context path="/test" docBase="webapps/host0" debug="0" >>>>>reloadable="true"/> >>>>></Host> >>>>> >>>>><!-- End, added part. --> >>>>> >>>>><!-- Normally, users must authenticate themselves to each web >>>>>app >>>>>individually. Uncomment the following entry if you would like >>>>> >>>>>a user to be authenticated the first time they encounter a >>>>> >>>>>resource protected by a security constraint, and then have >>>>>that >>>>>user identity maintained across *all* web applications >>>>>contained >>>>>in this virtual host. --> >>>>> >>>>> >>>>>-- >>>>>To unsubscribe, e-mail: >>>>><mailto:[EMAIL PROTECTED]> >>>>>For additional commands, e-mail: >>>>><mailto:[EMAIL PROTECTED]> >>>>> >>>>>--- >>>>>Incoming mail is certified Virus Free. >>>>>Checked by AVG anti-virus system (http://www.grisoft.com). >>>>>Version: 6.0.419 / Virus Database: 235 - Release Date: >>>>>11/13/2002 >>>>> >>>>> >>>>>--- >>>>>Outgoing mail is certified Virus Free. >>>>>Checked by AVG anti-virus system (http://www.grisoft.com). >>>>>Version: 6.0.419 / Virus Database: 235 - Release Date: >>>>>11/13/2002 >>>>> >>>>> >>>>>-- >>>>>To unsubscribe, e-mail: <mailto:tomcat-user- >>>>>[EMAIL PROTECTED]> >>>>>For additional commands, e-mail: <mailto:tomcat-user- >>>>>[EMAIL PROTECTED]> >>>>> >>>> >>>> >>>> >>>>-- >>>>To unsubscribe, e-mail: >>><mailto:[EMAIL PROTECTED]> >>>For additional commands, e-mail: >>><mailto:[EMAIL PROTECTED]> >>> >>>-- >>>To unsubscribe, e-mail: <mailto:tomcat-user- >>>[EMAIL PROTECTED]> >>>For additional commands, e-mail: <mailto:tomcat-user- >>>[EMAIL PROTECTED]> >>> >> >> >> >>-- >>To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> > >-- >To unsubscribe, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> >
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>