Re: apache question

2011-02-03 Thread Pid
On 02/02/2011 19:00, Lava Saleem 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

Why?

I just want to know  is
 apache httpd comes with apache tomcat when you download it, as I mentioned
 before 

It doesn't say so on the Tomcat download page, does it?

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 ?

Use FTP and put the file in the appropriate directory.

There's a separate mailing list for HTTPD if you need help with that server.


p


  Thanks
 LS
 
 On Wed, Feb 2, 2011 at 12:22 PM, André Warnier a...@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-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org


 



0x62590808.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


Re: apache question

2011-02-02 Thread Ognjen Blagojevic

Hi Lava,

On 1.2.2011 19:35, Lava Saleem wrote:

yeah I have read what you quote before but my question is that
I need to set apache httpd  as a proxy and I'm not sure if it buildin within
the apache tomcat and what about the mod_jk do I need to download it ?


Apache Tomcat comes packaged with HTTP server called Coyote.

There is no need to install Apache HTTPD (in most cases).

Regards,
Ognjen

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: apache question

2011-02-02 Thread jan gestre
On Wed, Feb 2, 2011 at 9:40 PM, Ognjen Blagojevic
ognjen.d.blagoje...@gmail.com wrote:
 Hi Lava,

 On 1.2.2011 19:35, Lava Saleem wrote:

 yeah I have read what you quote before but my question is that
 I need to set apache httpd  as a proxy and I'm not sure if it buildin
 within
 the apache tomcat and what about the mod_jk do I need to download it ?

 Apache Tomcat comes packaged with HTTP server called Coyote.

 There is no need to install Apache HTTPD (in most cases).

 Regards,
 Ognjen

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org



Or if your intention in running Apache is to run your webapp on port
80, I suggest to use jsvc instead, my 2 cents worth.

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: apache question

2011-02-02 Thread Lava Saleem
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 ?
On Wed, Feb 2, 2011 at 7:40 AM, Ognjen Blagojevic 
ognjen.d.blagoje...@gmail.com wrote:

 Hi Lava,


 On 1.2.2011 19:35, Lava Saleem wrote:

 yeah I have read what you quote before but my question is that
 I need to set apache httpd  as a proxy and I'm not sure if it buildin
 within
 the apache tomcat and what about the mod_jk do I need to download it ?


 Apache Tomcat comes packaged with HTTP server called Coyote.

 There is no need to install Apache HTTPD (in most cases).

 Regards,
 Ognjen


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: apache question

2011-02-02 Thread Dave Evans
The answers to these questions may help us help you:

What linux distribution and version are you using?
If you point your browser at http://localhost/ what happens?
If you ls /etc/init.d/  what files do you see?

Tomcat can be configured to serve html files. Some people prefer a
dedicated http server (such as Apache HTTP Server) in front of Tomcat,
passing just the java server requests to Tomcat. If you don't know why
you need one (your boss said so, you have to coexist with other
application platforms, etc) then you probably don't. You can always go
back and add the http server later. Please tell us what you
specifically need to do.

Dave

On Wed, Feb 2, 2011 at 10:04 AM, Lava Saleem lnsal...@ualr.edu 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 ?
 On Wed, Feb 2, 2011 at 7:40 AM, Ognjen Blagojevic 
 ognjen.d.blagoje...@gmail.com wrote:

 Hi Lava,


 On 1.2.2011 19:35, Lava Saleem wrote:

 yeah I have read what you quote before but my question is that
 I need to set apache httpd  as a proxy and I'm not sure if it buildin
 within
 the apache tomcat and what about the mod_jk do I need to download it ?


 Apache Tomcat comes packaged with HTTP server called Coyote.

 There is no need to install Apache HTTPD (in most cases).

 Regards,
 Ognjen


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: apache question

2011-02-02 Thread André Warnier

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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: apache question

2011-02-02 Thread Lava Saleem
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 a...@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-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: apache question

2011-02-02 Thread Dave Evans
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 lnsal...@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 a...@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-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: apache question

2011-02-02 Thread Lava Saleem
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 dsevan...@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 lnsal...@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 a...@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-unsubscr...@tomcat.apache.org
  For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: apache question

2011-02-02 Thread Dave Evans
Probably yes.

On Wed, Feb 2, 2011 at 11:24 AM, Lava Saleem lnsal...@ualr.edu wrote:
 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 dsevan...@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 lnsal...@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 a...@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-unsubscr...@tomcat.apache.org
  For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: apache question

2011-02-01 Thread Caldarale, Charles R
 From: Lava Saleem [mailto:lnsal...@ualr.edu] 
 Subject: apache question

 I have a simple question regarding apache

Apache is a software organization.  To quote from the home page: The ASF is 
made up of nearly 100 top level projects that cover a wide range of 
technologies. Chances are if you are looking for a rewarding experience in Open 
Source, you are going to find it here.

 I found out that I need to use apache httpd with tomcat

Why do you think that?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: apache question

2011-02-01 Thread Lava Saleem
Hi Chuck,
yeah I have read what you quote before but my question is that
I need to set apache httpd  as a proxy and I'm not sure if it buildin within
the apache tomcat and what about the mod_jk do I need to download it ?

On Tue, Feb 1, 2011 at 12:04 PM, Caldarale, Charles R 
chuck.caldar...@unisys.com wrote:

  From: Lava Saleem [mailto:lnsal...@ualr.edu]
  Subject: apache question

  I have a simple question regarding apache

 Apache is a software organization.  To quote from the home page: The ASF
 is made up of nearly 100 top level projects that cover a wide range of
 technologies. Chances are if you are looking for a rewarding experience in
 Open Source, you are going to find it here.

  I found out that I need to use apache httpd with tomcat

 Why do you think that?

  - Chuck


 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you received
 this in error, please contact the sender and delete the e-mail and its
 attachments from all computers.


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




RE: apache question

2011-02-01 Thread Jeffrey Janner
Tomcat and HTTPD are separate entities.  You will need to download and install 
both of them.
Please review the documentation on using httpd to proxy to Tomcat and decide on 
which method you wish to use.
Or ask your vendor.

 -Original Message-
 From: Lava Saleem [mailto:lnsal...@ualr.edu]
 Sent: Tuesday, February 01, 2011 12:35 PM
 To: users
 Subject: Re: apache question
 
 Hi Chuck,
 yeah I have read what you quote before but my question is that
 I need to set apache httpd  as a proxy and I'm not sure if it buildin
 within
 the apache tomcat and what about the mod_jk do I need to download it ?
 
 On Tue, Feb 1, 2011 at 12:04 PM, Caldarale, Charles R 
 chuck.caldar...@unisys.com wrote:
 
   From: Lava Saleem [mailto:lnsal...@ualr.edu]
   Subject: apache question
 
   I have a simple question regarding apache
 
  Apache is a software organization.  To quote from the home page: The
 ASF
  is made up of nearly 100 top level projects that cover a wide range
 of
  technologies. Chances are if you are looking for a rewarding
 experience in
  Open Source, you are going to find it here.
 
   I found out that I need to use apache httpd with tomcat
 
  Why do you think that?
 
   - Chuck
 
 
  THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
 PROPRIETARY
  MATERIAL and is thus for use only by the intended recipient. If you
 received
  this in error, please contact the sender and delete the e-mail and
 its
  attachments from all computers.
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
  For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
__

Confidentiality Notice:  This Transmission (including any attachments) may 
contain information that is privileged, confidential, and exempt from 
disclosure under applicable law.  If the reader of this message is not the 
intended recipient you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly prohibited.  

If you have received this transmission in error, please immediately reply to 
the sender or telephone (512) 343-9100 and delete this transmission from your 
system.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org