What if the majority of your pages are either servlets or JSP. I have only a
couple pages that are not dynamically created, so Apache will only handle
those, right? I'm running in a pure Tomcat environment because of this...
and the fact I don't know how to set up apache with tomcat :-)

-Brian

-----Original Message-----
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 3:23 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat and IIS


That's possible BUT performance will suffer.  Tomcat isn't as powerful
as Apache.  If you are running a small website, intranet and such,
Tomcat would probably work fine but it's not Commercially fit as a Web
Server.  Apache on the other hand is.  Later, J

-----Original Message-----
From: jsp [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 4:25 PM
To: 'Tomcat Users List'; [EMAIL PROTECTED]
Subject: RE: Tomcat and IIS

If you can use TOMCAT as a web server also a container for jsp and
servlets, then I don't understand why you even need Apache Web server?
Can someone fill me in? I'm running IIS with tomcat right now but I
would like to turn IIS off and just use tomcat like someone here
suggested.

-wiley


-----Original Message-----
From: Quinton McCombs [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 27, 2003 1:29 PM
To: 'John Turner'; [EMAIL PROTECTED]
Subject: RE: Tomcat and IIS

> -----Original Message-----
> From: John Turner [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 27, 2003 3:22 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Tomcat and IIS
>
>
>
> Really?  Can you post your config files?  I'd be interested in seeing
> them...I haven't been able to make this work, though I don't use JK2.
>
> John
>

Httpd.conf:

<VirtualHost *>
    DocumentRoot /usr/local/www/default
    ServerName neo03.nequalsone.com
    DirectoryIndex index.html Wiki.jsp

    Alias /wiki /opt/jakarta/webapps/wiki
    <Directory "/opt/jakarta/webapps/wiki">
        Options -Indexes +FollowSymLinks +Includes MultiViews
    </Directory>
    <Location "/data">
       AllowOverride None
       deny from all
    </Location>
    <Location "/WEB-INF">
       AllowOverride None
       deny from all
    </Location>
</VirtualHost>

Workers2.properties:

[channel.socket:localhost:8009]

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[uri:/wiki/*.jsp]
worker=ajp13:localhost:8009






> On Thu, 27 Mar 2003 15:15:02 -0600, Quinton McCombs
> <[EMAIL PROTECTED]> wrote:
>
> > 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]
> >
> >
>
>
>
> --
> 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]


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

Reply via email to