tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lava Saleem <lnsal...@ualr.edu>
Subject Re: apache question
Date Wed, 02 Feb 2011 19:24:53 GMT
so that means I already have apache httpd but I need to install mod_jk
connector correct?


On Wed, Feb 2, 2011 at 1:19 PM, Dave Evans <dsevans93@gmail.com> wrote:

> In centos the file /etc/httpd/conf/httpd.conf should be the
> configuration for the Apache HTTP Server. For information on that
> configuration please write to the apache users list. One quick tip,
> assuming you have no virtual hosts set up, the DocumentRoot directive
> will tell you where to put your html files.
>
> To pass java server requests to Tomcat you can install mod_jk. You
> should be able to find an rpm to do this for you. Once it is
> installed, you'll need to use JkMount directives in the httpd.conf
> file to tell Apache Http Server which requests to pass to Tomcat, for
> instance:
> JkMount /*.jsp ajp13 # pass jsp file requests
> JkMount /*.do ajp13 # pass struts app requests
> JkMount /manager/* ajp13 # pass manager app requests
>
> The ajp13 token above is the name of a worker configured in your
> {tomcat root}/conf/workers.properties file.
>
> This will help I hope:
> http://tomcat.apache.org/connectors-doc/generic_howto/quick.html
>
> Dave
>
> On Wed, Feb 2, 2011 at 11:00 AM, Lava Saleem <lnsaleem@ualr.edu> wrote:
> > Hi everyone,
> > I'm sorry for not providing  the system informations earlier, the  linux
> I'm
> > using is centos 2.6.18 and the apache tomcat is 7.0.4 java is 1.6.0_22  I
> > know the difference between apache tomcat and apache httpd, I need
> > to configure apache httpd to server as a proxy,  I just want to know  is
> > apache httpd comes with apache tomcat when you download it, as I
> mentioned
> > before I see there is httpd in /etc but I don't see apache in the /opt
>  so
> > does that means I need to download apache ? and my second question is how
> to
> > upload a html ( embedded with java script )web page into apache ?
> >  Thanks
> > LS
> >
> > On Wed, Feb 2, 2011 at 12:22 PM, André Warnier <aw@ice-sa.com> wrote:
> >
> >> Lava Saleem wrote:
> >>
> >>> I'm using linux box that has already apache tomcat I can see there is
> >>> httpd
> >>> in /etc  but I don't see apache beside apache tomcat in the /opt   I
> also
> >>> need to upload my html file in apache or like you said coyote
> >>> where and how to do that ?
> >>>
> >>
> >> Lava,
> >>
> >> you have not told us which version of Tomcat (or Apache httpd) you are
> >> using, on which exact platform, with which version of Java, nor anything
> >> really about where these different packages come from or how or where
> they
> >> are installed.
> >> You also seem to be relatively confused about what Apache Tomcat and
> Apache
> >> httpd really are, and how they can communicate with eachother, or even
> if
> >> they need to communicate with eachother and why.
> >>
> >> There are probably 30 different types of Linux, and several hundred
> types
> >> of boxes on which to run it.  Each type of Linux installs Apache httpd
> and
> >> Apache Tomcat in different series of multiple directories on the disk.
>  So
> >> how could anyone tell you if it is normal or not that you find (or don't
> >> find) something in /etc or /opt ?
> >>
> >> If you could give us some real information for a change, including what
> >> exactly you are trying to achieve and for which reason, then someone
> here
> >> might be able to help you, or else direct you where you might get some
> real
> >> help.
> >>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> >> For additional commands, e-mail: users-help@tomcat.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message