RE: Mapping context to root of website

2005-03-10 Thread Ronnie Tartar
Is there a way to do this with jk or jk2?

Thanks



-Original Message-
From: Ronnie Tartar 
Sent: Monday, March 07, 2005 11:46 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website


This is how I use to be able to do it with mod_warp.

   WebAppConnection mps warp localhost:8019
   WebAppDeploy . mps /

Deployed the specific context to the root of the actual site leaving 1
instance of tomcat with multiple webapps.

Thanks

Ronnie Tartar
407-251-2036



-Original Message-
From: Ronnie Tartar 
Sent: Monday, March 07, 2005 10:50 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website


Y, but you can only have one ROOT in the webapps folder?  Is this what
you are talking about?  I would like to have multiple contexts mapped to
the ROOT of different web servers.

http://www.test1.com/mapped to /context1
http://www.test2.com/mapped to /context2
http://www.test3.com/mapped to /context3

I have created my application as ROOT in the webapps folder, and that
does work, but without creating multiple tomcat instances, I can only
have one ROOT.

I always seem to have trouble with the connectors, thanks for your
patience.



Ronnie Tartar
407-251-2036



-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 07, 2005 10:39 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website


Hi,

Yes this is extremely common and in TC 5.0 is configured using an empty
path attribute in the Context element and in 5.5 it is done by naming
your web application as ROOT. FOr IIS to TC look up JK 1.2.8, there's
even an installer. Your mappings would be /something=ajp13 rather than
/context/something=ajp13.

Good luck. Allistair.

 -Original Message-
 From: Ronnie Tartar [mailto:[EMAIL PROTECTED]
 Sent: 07 March 2005 15:37
 To: tomcat-user@jakarta.apache.org
 Subject: Mapping context to root of website
 
 
 Is there anyway to map a context to the root of a website.
  
 For instance:  http://www.test.com/context/ to
  
 http://www.test.com/
  
 I know I can do this by creating mulitple Tomcat Instances but this is

 not very efficient on resources.
  
 I have done it with Mod_warp with success but need to do it on IIS and

 Apache.
  
 Is there a doc out there somewhere?
  
 Thanks in advance.
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
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]



Mapping context to root of website

2005-03-07 Thread Ronnie Tartar
Is there anyway to map a context to the root of a website.
 
For instance:  http://www.test.com/context/ to
 
http://www.test.com/
 
I know I can do this by creating mulitple Tomcat Instances but this is
not very efficient on resources.
 
I have done it with Mod_warp with success but need to do it on IIS and
Apache.
 
Is there a doc out there somewhere?
 
Thanks in advance.


RE: Mapping context to root of website

2005-03-07 Thread Ronnie Tartar
Y, but you can only have one ROOT in the webapps folder?  Is this what
you are talking about?  I would like to have multiple contexts mapped to
the ROOT of different web servers.

http://www.test1.com/mapped to /context1
http://www.test2.com/mapped to /context2
http://www.test3.com/mapped to /context3

I have created my application as ROOT in the webapps folder, and that
does work, but without creating multiple tomcat instances, I can only
have one ROOT.

I always seem to have trouble with the connectors, thanks for your
patience.



Ronnie Tartar
407-251-2036



-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 07, 2005 10:39 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website


Hi,

Yes this is extremely common and in TC 5.0 is configured using an empty
path attribute in the Context element and in 5.5 it is done by naming
your web application as ROOT. FOr IIS to TC look up JK 1.2.8, there's
even an installer. Your mappings would be /something=ajp13 rather than
/context/something=ajp13.

Good luck. Allistair.

 -Original Message-
 From: Ronnie Tartar [mailto:[EMAIL PROTECTED]
 Sent: 07 March 2005 15:37
 To: tomcat-user@jakarta.apache.org
 Subject: Mapping context to root of website
 
 
 Is there anyway to map a context to the root of a website.
  
 For instance:  http://www.test.com/context/ to
  
 http://www.test.com/
  
 I know I can do this by creating mulitple Tomcat Instances but this is

 not very efficient on resources.
  
 I have done it with Mod_warp with success but need to do it on IIS and

 Apache.
  
 Is there a doc out there somewhere?
  
 Thanks in advance.
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
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]



RE: Mapping context to root of website

2005-03-07 Thread Ronnie Tartar
This is how I use to be able to do it with mod_warp.

   WebAppConnection mps warp localhost:8019
   WebAppDeploy . mps /

Deployed the specific context to the root of the actual site leaving 1
instance of tomcat with multiple webapps.

Thanks

Ronnie Tartar
407-251-2036



-Original Message-
From: Ronnie Tartar 
Sent: Monday, March 07, 2005 10:50 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website


Y, but you can only have one ROOT in the webapps folder?  Is this what
you are talking about?  I would like to have multiple contexts mapped to
the ROOT of different web servers.

http://www.test1.com/mapped to /context1
http://www.test2.com/mapped to /context2
http://www.test3.com/mapped to /context3

I have created my application as ROOT in the webapps folder, and that
does work, but without creating multiple tomcat instances, I can only
have one ROOT.

I always seem to have trouble with the connectors, thanks for your
patience.



Ronnie Tartar
407-251-2036



-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 07, 2005 10:39 AM
To: Tomcat Users List
Subject: RE: Mapping context to root of website


Hi,

Yes this is extremely common and in TC 5.0 is configured using an empty
path attribute in the Context element and in 5.5 it is done by naming
your web application as ROOT. FOr IIS to TC look up JK 1.2.8, there's
even an installer. Your mappings would be /something=ajp13 rather than
/context/something=ajp13.

Good luck. Allistair.

 -Original Message-
 From: Ronnie Tartar [mailto:[EMAIL PROTECTED]
 Sent: 07 March 2005 15:37
 To: tomcat-user@jakarta.apache.org
 Subject: Mapping context to root of website
 
 
 Is there anyway to map a context to the root of a website.
  
 For instance:  http://www.test.com/context/ to
  
 http://www.test.com/
  
 I know I can do this by creating mulitple Tomcat Instances but this is

 not very efficient on resources.
  
 I have done it with Mod_warp with success but need to do it on IIS and

 Apache.
  
 Is there a doc out there somewhere?
  
 Thanks in advance.
 


FONT SIZE=1 FACE=VERDANA,ARIAL COLOR=BLUE 
---
QAS Ltd.
Developers of QuickAddress Software
a href=http://www.qas.com;www.qas.com/a
Registered in England: No 2582055
Registered in Australia: No 082 851 474
---
/FONT


-
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]



Re: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env

2003-06-13 Thread Ronnie Tartar
/etc/sysconfig/network-scripts/devicename
- Original Message - 
From: John Turner [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, June 13, 2003 1:00 PM
Subject: [OFF-TOPIC] Re: Pushing Apache/Tomcat to prod env



 AFAIK, RH doesn't use the hosts file at all to set IP address.

 The address setters are in etc/init.d/network.  You can configure your
IP
 address from the command line using ifconfig.  This might require 15
 minutes (actually 1 or 2 but most ISPs don't charge by the minute) of tech
 time on your ISP side, because without net access to the box you won't be
 able to SSH.

 John

 On Fri, 13 Jun 2003 10:03:39 -0500, David Nelson [EMAIL PROTECTED]
 ind.com wrote:

  This may be slightly off topic but I'm sure others on the list can
  relate.
 
  I'm working on getting a prod system up as a co-location at an ISP.
  They've assigned an IP address but the IP is not working (i.e. ping
  ipaddress returns timeout).
 
  Now they are saying that the network card is misconfigured on the server
  but I'm fairly certain that RedHat reads from the /etc/hosts file to
  determine IP to respond to.
 
  Am I correct or missing some significant step in configuring the server?
 
  Thanks
  -Dave
 
  -
  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]



Re: Problem with webapp connector

2003-06-11 Thread Ronnie Tartar
What do you have in your server.xml and your apache conf file.  I have just
implemented almost the same thing.

Could not get jk2 or jk to do what I wanted it to do.  So mod_webapp were
the ticket...

server.xml:

  Service name=Tomcat-Apache

Connector className=org.apache.catalina.connector.warp.WarpConnector
 port=8008 minProcessors=5 maxProcessors=75
 enableLookups=true appBase=/web/test/webapps/mpsdemo
 acceptCount=10 debug=0/

Connector className=org.apache.catalina.connector.warp.WarpConnector
 port=8021 minProcessors=5 maxProcessors=75
 enableLookups=true appBase=/web/test/webapps/cpm_test
 acceptCount=10 debug=0/

Engine className=org.apache.catalina.connector.warp.WarpEngine
 name=Apache debug=0

  Logger className=org.apache.catalina.logger.FileLogger
  prefix=apache_log. suffix=.txt
  timestamp=true/

  Realm className=org.apache.catalina.realm.MemoryRealm /

/Engine

  /Service


httpd.conf
LoadModule webapp_module modules/mod_webapp.so


The following are included in my vhost configuration, just add the following
lines inside your vhost.  the / mounts it at the root.


Vhost1:
WebAppConnection mpstest warp localhost:8008
WebAppDeploy . mpstest /

Vhost2:
WebAppConnection cpm_test warp localhost:8021
WebAppDeploy . cpm_test /cpm_test


- Original Message - 
From: Alberto Puerta [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 2:26 PM
Subject: Problem with webapp connector


 Hi list.

  I've installed apache 2.0.45 and Tomcat 4.1.24, compiled webapp connector
 and it works fine but when i put the sistem in production i get this
error:

 [Wed Jun 11 09:11:55 2003] [notice] Apache/2.0.45 (Unix)
 mod_webapp/1.2.0-dev configured -- resuming normal operations
 [Wed Jun 11 10:43:25 2003] [error] Cannot read packet

(/usr/local/software/jakarta-tomcat-connectors-4.1.24-src/webapp/lib/pr_warp
 _config.c:230)
 [Wed Jun 11 10:43:25 2003] [error] Cannot configure connection conZamora

 The sistem works 1 hour and then the connector crashes and the server goes
 down.
 Any idea? I gonna try jk2 connector but i prefer webapp.

 Thanks a lot.

 
 Administración de Sistemas
 [EMAIL PROTECTED]
 http://www.renr.es http://www.renr.es/
 Tel: 96.598.71.85 - Fax: 96.592.43.12
 Recursos en la red, S.L.U.
 Pintor Cabrera, 22 Esc. B-3º
 03003 Alicante (España)
 


 -
 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]



Mailing List for Security warnings

2003-06-08 Thread Ronnie Tartar
Is there a mailing list for security warnings for tomcat?
 
Thanks


RE: Connectors mod_webapp vs mod_jk2

2003-06-07 Thread Ronnie Tartar
Is there any way of setting the appbase on the connectors for jk2?  I would
like to try and get away from mod_webapp, since development has ceased on
it, but I want to use virtual ssl hosts without having to add the webapp @
the end of the url?  I attempted mod_rewrite, but had some issues there and
some conflicting stories on weather it worked or not? 

I'm not really a programmer, I'm an operations guy who has to host a lot of
these and need an effective way of doing so.  I know that I can use multiple
tomcat instances but would rather not.  Any suggestion would be helpful.

Thanks in advance. 

-Original Message-
From: Ronnie Tartar [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 04, 2003 12:50 PM
To: [EMAIL PROTECTED]
Subject: Connectors mod_webapp vs mod_jk2


I successfully implented the mod_webapp connector, thanks especially for the
document on:

http://www.codesta.com/knowledge/technical/tomcat_warp_apache/page_01.jsp

But I could not successfully install the mod_jk2 connector with multiple ssl
vhosts (IP Based). I did get it working with the default install so the
compile and code is right, I think I may just be missing something in the
config, either apache or tomcat.

Is there a way to use the mod_jk2 connector with the following
configuration, especially the appbase parameter?  Also, is there a way to
map the connectors onto the vhosts in apache?

Connector className=org.apache.catalina.connector.warp.WarpConnector
 port=8019 minProcessors=5 maxProcessors=75
 enableLookups=true appBase=/apps/tomcat/webapps/mps
 acceptCount=10 debug=0/

Thank you

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



Connectors mod_webapp vs mod_jk2

2003-06-05 Thread Ronnie Tartar
I successfully implented the mod_webapp connector, thanks especially for the document 
on:

http://www.codesta.com/knowledge/technical/tomcat_warp_apache/page_01.jsp

But I could not successfully install the mod_jk2 connector with multiple ssl vhosts 
(IP Based).
I did get it working with the default install so the compile and code is right, I 
think I may just be missing something in the config, either apache or tomcat.

Is there a way to use the mod_jk2 connector with the following configuration, 
especially the appbase parameter?  Also, is there a way to map the connectors onto the 
vhosts in apache?

Connector className=org.apache.catalina.connector.warp.WarpConnector
 port=8019 minProcessors=5 maxProcessors=75
 enableLookups=true appBase=/apps/tomcat/webapps/mps
 acceptCount=10 debug=0/

Thank you

Sample Configs for Tomcat 4.1.x, mod_jk2 , Apache 2.0.46 with ssl

2003-06-03 Thread Ronnie Tartar
I am looking for some sample configs for the following configuration.
 
Redhat 9.0
Tomcat 4.1.24  (binary)
Apache 2.0.46 (compiled from source)
mod_jk2 (compiled from source)
 
Specifically, I am using IP based Virtual Hosts and need to map each to a
root / of each web site.
 
I have looked on the web and found some samples with Named Virtual Hosts,
but nothing with SSL.
 
I have been working on it for days and can't seem to get it correct.
 
Is there any way to map a tomcat application /examples/ to the root / of
a web server?
 
Racking my brains.
 
Any help would be greatly appreciated.
 
Should I use mod_jk?
 
Possibly a sample configuration of Tomcat server.xml with multiple hosts?
 
Thanks in advance.


RE: Sample Configs for Tomcat 4.1.x, mod_jk2 , Apache 2.0.46 with ssl

2003-06-03 Thread Ronnie Tartar
Forgot to mention the SSL piece.  

I had already been to the site but wasn't able to get what I needed.  It may
be there I just can't find it.  

If need to create multiple applications with a / context, do I need to
create multiple hosts?  Multiple Services?

I got it working with the 1st VHOST but when I configure my second, the it
is accessing the default host?

Thanks in advance.

-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 03, 2003 7:15 AM
To: Tomcat Users List
Subject: Re: Sample Configs for Tomcat 4.1.x, mod_jk2 , Apache 2.0.46 with
ssl


http://tomcatfaq.sourceforge.net/apache.html ?

-Tim

Ronnie Tartar wrote:
 I am looking for some sample configs for the following configuration.
  
 Redhat 9.0
 Tomcat 4.1.24  (binary)
 Apache 2.0.46 (compiled from source)
 mod_jk2 (compiled from source)
  
 Specifically, I am using IP based Virtual Hosts and need to map each 
 to a root / of each web site.
  
 I have looked on the web and found some samples with Named Virtual 
 Hosts, but nothing with SSL.
  
 I have been working on it for days and can't seem to get it correct.
  
 Is there any way to map a tomcat application /examples/ to the root 
 / of a web server?
  
 Racking my brains.
  
 Any help would be greatly appreciated.
  
 Should I use mod_jk?
  
 Possibly a sample configuration of Tomcat server.xml with multiple 
 hosts?
  
 Thanks in advance.
 


-
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]