Guess I need to learn YET ANOTHER piece of software. Apache Web Server here I come...
-----Original Message----- From: Quinton McCombs [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 1:15 PM To: 'Tomcat Users List' Subject: RE: Tomcat and IIS Well, I am doing this on apache 2.0.44. My DirectoryIndex has index.html and index.jsp. I am directing *.jsp to tomcat. Requesting the directory without a filename causes index.jsp to be processed by tomcat and the result returned. I am also using mod_jk2 if that makes a difference. -------------------------------------------- Quinton McCombs NequalsOne - HealthCare marketing tools mailto:[EMAIL PROTECTED] http://www.NequalsOne.com > -----Original Message----- > From: John Turner [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 27, 2003 3:11 PM > To: Tomcat Users List > Subject: Re: Tomcat and IIS > > > > Switching to Apache wouldn't solve it unless you wanted to > use mod_rewrite. > Check the archives for last fall...there were bunches of > threads on this > topic for quite awhile. AFAIK, nothing's changed, though I > was off this > list for several weeks recently and its very possible someone > came up with > a workaround that I missed. > > John > > On Thu, 27 Mar 2003 13:10:14 -0800, jsp <[EMAIL PROTECTED]> wrote: > > > Yea, I thought about that( or even an asp redirect, defeats the > > purpose > > of using jsp) but I'm trying to get the referrer from the > browser into a > > database and I don't want index.html as my only referrer :) > > > > I'll try just using tomcat, I would just switch to apache I > guess but > > I > > paid about 1200 bucks for w2k server 2 years ago and STILL > paying on it. > > Oh well. > > > > Thanks > > -wiley > > > > > > -----Original Message----- > > From: John Turner [mailto:[EMAIL PROTECTED] Sent: > Thursday, > > March 27, 2003 12:57 PM > > To: Tomcat Users List > > Subject: Re: Tomcat and IIS > > > > > > AFAIK, the only way to do this when using Tomcat in > conjunction with a > > web server is a kludge. I do it by making index.html my > default home > > page, and having index.html be nothing but a meta refresh > page with a > > time of "0" to http://www.foo.com/index.jsp. There are > other ways...some > > Apache folks use mod_rewrite. > > > > This means index.jsp will show up in the address bar of the > browser. > > If > > you don't want that, I'm not sure you can do it. I don't > know enough > > about IIS to know if there is a more elegant way to do it. > > > > If you want to use Tomcat alone, you setup a welcome-file > tag/element > > in > > your application's web.xml file that has index.jsp as a parameter. > > > > John > > > > On Thu, 27 Mar 2003 12:47:17 -0800, jsp <[EMAIL PROTECTED]> wrote: > > > >> I'm trying to get away from ASP. The top file of my website is an > >> index.jsp page. I set the root directory for the website to > >> \<Catalina_home>\webapps\MyWebsite > >> > >> So when you go to http://www.mywebsite.com the default > page in iis is > >> index.jsp but I'm positive that is the wrong way to do > this because > >> the only way jsp will work is if you type into the browser > >> > >> http://www.mywebsite.com/MyWebsite/index.jsp > >> > >> maybe this is not a tomcat related question but I'm hoping someone > >> could be doing this and give me some type of CLUE ? > >> > >> Basically when you go to http://www.mywebsite.com I want > the top file > >> to be a functioning .jsp page because I don't want to use an ASP > >> stats program. > >> > >> Hopefully it makes sense > >> > >> -wiley > >> > >> > >> > >> > >> > >> > >> > --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: > [EMAIL PROTECTED] > >> > >> > > > > > > > > > > -- > Using M2, Opera's revolutionary e-mail client: > http://www.opera.com/m2/ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
