You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Brian Richards <nc...@pobox.com> on 2000/07/13 16:52:28 UTC

tomcat.conf vs tomcat-apache.conf

I am getting a little confused as to when each of these files is used?

is tomcat.conf only used when you are using tomcat as the http static server
and tomcat-apache.conf is when you are using it with apache?

if someone could set me straight here that would be great.

thanks

brian


Re: tomcat.conf vs tomcat-apache.conf

Posted by Brian Richards <nc...@pobox.com>.
yes it is automatically generated from the contents of server.xml.

-brian
----- Original Message -----
From: "mike niemaz" <ni...@xrce.xerox.com>
To: <to...@jakarta.apache.org>
Sent: Thursday, July 13, 2000 11:00 AM
Subject: Re: tomcat.conf vs tomcat-apache.conf


> Then Nam Kheong wrote:
>
> > Let me try to help, just read the difference moments ago...
> >
> > You use tomcat.conf if you are running tomcat without apache. That mean,
> > tomcat will serve all static pages(.HTML), servlets and JSP pages.
> > However, tomcat is very slow and inefficient in serving static pages,
thus
> > you need to make apache to serve static pages and tomcat to serve the
> > servlets and .JSP pages. This method will render tomcat as an add-on to
> > apache.
> >
> > This is where tomcat-apache.conf comes in.
>
> but tomcat-apache.conf is automatically generated so
> it no much use, is it?
>
>
>
>


Re: tomcat.conf vs tomcat-apache.conf

Posted by Jim Suplizio <ji...@marathoninnovations.com>.
> but tomcat-apache.conf is automatically generated so
> it no much use, is it?
Actually, the documentation states that if you intend to make changes to the
tomcat-apche.conf that you make them and save them off into another file.
You can simply have your script that kicks off both tomcat and apache copy
the file over after you've kicked off tomcat but before you kick off apache.

----- Original Message -----
From: "mike niemaz" <ni...@xrce.xerox.com>
To: <to...@jakarta.apache.org>
Sent: Thursday, July 13, 2000 11:00 AM
Subject: Re: tomcat.conf vs tomcat-apache.conf


> Then Nam Kheong wrote:
>
> > Let me try to help, just read the difference moments ago...
> >
> > You use tomcat.conf if you are running tomcat without apache. That mean,
> > tomcat will serve all static pages(.HTML), servlets and JSP pages.
> > However, tomcat is very slow and inefficient in serving static pages,
thus
> > you need to make apache to serve static pages and tomcat to serve the
> > servlets and .JSP pages. This method will render tomcat as an add-on to
> > apache.
> >
> > This is where tomcat-apache.conf comes in.
>
> but tomcat-apache.conf is automatically generated so
> it no much use, is it?
>
>



Re: tomcat.conf vs tomcat-apache.conf

Posted by mike niemaz <ni...@xrce.xerox.com>.
Then Nam Kheong wrote:

> Let me try to help, just read the difference moments ago...
>
> You use tomcat.conf if you are running tomcat without apache. That mean,
> tomcat will serve all static pages(.HTML), servlets and JSP pages.
> However, tomcat is very slow and inefficient in serving static pages, thus
> you need to make apache to serve static pages and tomcat to serve the
> servlets and .JSP pages. This method will render tomcat as an add-on to
> apache.
>
> This is where tomcat-apache.conf comes in.

but tomcat-apache.conf is automatically generated so
it no much use, is it?



Re: tomcat.conf vs tomcat-apache.conf

Posted by Brian Richards <nc...@pobox.com>.
Great that's what i thought.  I looked at the time stamps on tomcat.conf and
tomcat-apache.conf
and tomcat.conf was older.  I figured since they are automatically generated
that it must not be using
tomcat.conf.

thanks,

brian
----- Original Message -----
From: "Then Nam Kheong" <nk...@magix.com.sg>
To: <to...@jakarta.apache.org>
Sent: Thursday, July 13, 2000 11:03 AM
Subject: Re: tomcat.conf vs tomcat-apache.conf


> Let me try to help, just read the difference moments ago...
>
> You use tomcat.conf if you are running tomcat without apache. That mean,
> tomcat will serve all static pages(.HTML), servlets and JSP pages.
> However, tomcat is very slow and inefficient in serving static pages, thus
> you need to make apache to serve static pages and tomcat to serve the
> servlets and .JSP pages. This method will render tomcat as an add-on to
> apache.
>
> This is where tomcat-apache.conf comes in.
>
> Hope that I am right. Can someone in the list verify my explanation and if
> possible shed more light to this issue?
>
>
> ----- Original Message -----
> >From: Brian Richards <nc...@pobox.com>
> To: tomcat-user <to...@jakarta.apache.org>
> Sent: Thursday, July 13, 2000 10:52 PM
> Subject: tomcat.conf vs tomcat-apache.conf
>
>
> > I am getting a little confused as to when each of these files is used?
> >
> > is tomcat.conf only used when you are using tomcat as the http static
> server
> > and tomcat-apache.conf is when you are using it with apache?
> >
> > if someone could set me straight here that would be great.
> >
> > thanks
> >
> > brian
> >
> >
>
>
>
>


Re: tomcat.conf vs tomcat-apache.conf

Posted by Then Nam Kheong <nk...@magix.com.sg>.
Let me try to help, just read the difference moments ago...

You use tomcat.conf if you are running tomcat without apache. That mean,
tomcat will serve all static pages(.HTML), servlets and JSP pages.
However, tomcat is very slow and inefficient in serving static pages, thus
you need to make apache to serve static pages and tomcat to serve the
servlets and .JSP pages. This method will render tomcat as an add-on to
apache.

This is where tomcat-apache.conf comes in.

Hope that I am right. Can someone in the list verify my explanation and if
possible shed more light to this issue?


----- Original Message -----
From: Brian Richards <nc...@pobox.com>
To: tomcat-user <to...@jakarta.apache.org>
Sent: Thursday, July 13, 2000 10:52 PM
Subject: tomcat.conf vs tomcat-apache.conf


> I am getting a little confused as to when each of these files is used?
>
> is tomcat.conf only used when you are using tomcat as the http static
server
> and tomcat-apache.conf is when you are using it with apache?
>
> if someone could set me straight here that would be great.
>
> thanks
>
> brian
>
>