Re: AW: how to virtual hosting with apache 13.x, tomcat 4.0.3, mod_webapp

2002-06-06 Thread Nikola Milutinovic

 Works for me... I have about 10 virtual hosts sharing the same
 connection. 

That's a good thing to know, I'll modify my HOW-TO. Thanks.

Nix.



Re: AW: how to virtual hosting with apache 13.x, tomcat 4.0.3, mod_webapp

2002-06-05 Thread August Detlefsen

Works for me... I have about 10 virtual hosts sharing the same
connection. 


--- Nikola Milutinovic [EMAIL PROTECTED] wrote:
  You only need one WebAppConnection statement - The same connection
 is
  shared by multiple vhosts/webapps. Try it like this: 
  
  WebAppConnection conn warp localhost:8008
  
  VirtualHost 193.10.10.25
 DocumentRoot /path/to/website1
 ServerName www.website1.org
 WebAppDeploy website1 conn /website1
  /VirtualHost
   
  VirtualHost 193.10.10.25
 DocumentRoot /path/to/website2
 ServerName www.website2.org
 WebAppDeploy website2 conn /website2
  /VirtualHost
 
 Will this work? I have seen that each connection registers a
 ServerName on the Tomcat side. I'm not saying it is not supported,
 but I had problems with some previous instances. I must confess that
 those instances refused to work even for one VHost, so I cannot claim
 that *that* will not work. Have you tried it?
 
 Nix.
 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




AW: how to virtual hosting with apache 13.x, tomcat 4.0.3, mod_webapp

2002-06-04 Thread Ralph Einfeldt

Although I'm not using mod_webapp I would suggest:

VirtualHost 193.10.10.25
  DocumentRoot /path/to/website1
  ServerName www.website1.org
  WebAppConnection conn warp localhost:8008
  WebAppDeploy website1 conn /website1
/VirtualHost

VirtualHost 193.10.10.25
  DocumentRoot /path/to/website2
  ServerName www.website2.org
  WebAppConnection conn warp localhost:8008
  # If you want a seperate instance for each virtual host
  # you have to change the port number to make it unique
  WebAppDeploy website1 conn /website2
/VirtualHost

 -Ursprüngliche Nachricht-
 Von: pascal GEND [mailto:[EMAIL PROTECTED]]
 Gesendet: Dienstag, 4. Juni 2002 11:48
 An: [EMAIL PROTECTED]
 Betreff: how to virtual hosting with apache 13.x, tomcat 4.0.3,
 mod_webapp
 
snip/ 
 know how to do in my httpd.conf: Where to put, for instance
 
 WebAppConnection conn warp localhost:8008
 WebAppDeploy website1 conn /website1 (I have now to use the 
 bad way http://www.myweb.org/website1 which is totally incorrect
 WebAppDeploy website2 conn /website2 (I have now to use the 
 bad way http://www.myweb.org/website2 which is totally incorrect)
 
snip/ 

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




Re: AW: how to virtual hosting with apache 13.x, tomcat 4.0.3, mod_webapp

2002-06-04 Thread August Detlefsen

You only need one WebAppConnection statement - The same connection is
shared by multiple vhosts/webapps. Try it like this: 

WebAppConnection conn warp localhost:8008

VirtualHost 193.10.10.25
   DocumentRoot /path/to/website1
   ServerName www.website1.org
   WebAppDeploy website1 conn /website1
/VirtualHost
 
VirtualHost 193.10.10.25
   DocumentRoot /path/to/website2
   ServerName www.website2.org
   WebAppDeploy website2 conn /website2
/VirtualHost





--- Ralph Einfeldt [EMAIL PROTECTED] wrote:
 Although I'm not using mod_webapp I would suggest:
 
 VirtualHost 193.10.10.25
   DocumentRoot /path/to/website1
   ServerName www.website1.org
   WebAppConnection conn warp localhost:8008
   WebAppDeploy website1 conn /website1
 /VirtualHost
 
 VirtualHost 193.10.10.25
   DocumentRoot /path/to/website2
   ServerName www.website2.org
   WebAppConnection conn warp localhost:8008
   # If you want a seperate instance for each virtual host
   # you have to change the port number to make it unique
   WebAppDeploy website1 conn /website2
 /VirtualHost
 
  -Ursprüngliche Nachricht-
  Von: pascal GEND [mailto:[EMAIL PROTECTED]]
  Gesendet: Dienstag, 4. Juni 2002 11:48
  An: [EMAIL PROTECTED]
  Betreff: how to virtual hosting with apache 13.x, tomcat 4.0.3,
  mod_webapp
  
 snip/ 
  know how to do in my httpd.conf: Where to put, for instance
  
  WebAppConnection conn warp localhost:8008
  WebAppDeploy website1 conn /website1 (I have now to use the 
  bad way http://www.myweb.org/website1 which is totally incorrect
  WebAppDeploy website2 conn /website2 (I have now to use the 
  bad way http://www.myweb.org/website2 which is totally incorrect)
  
 snip/ 
 
 --
 To unsubscribe, e-mail:  
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto%Û4Æ{[EMAIL PROTECTED]
 


__
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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




Re: AW: how to virtual hosting with apache 13.x, tomcat 4.0.3, mod_webapp

2002-06-04 Thread Nikola Milutinovic

 You only need one WebAppConnection statement - The same connection is
 shared by multiple vhosts/webapps. Try it like this: 
 
 WebAppConnection conn warp localhost:8008
 
 VirtualHost 193.10.10.25
DocumentRoot /path/to/website1
ServerName www.website1.org
WebAppDeploy website1 conn /website1
 /VirtualHost
  
 VirtualHost 193.10.10.25
DocumentRoot /path/to/website2
ServerName www.website2.org
WebAppDeploy website2 conn /website2
 /VirtualHost

Will this work? I have seen that each connection registers a ServerName on the Tomcat 
side. I'm not saying it is not supported, but I had problems with some previous 
instances. I must confess that those instances refused to work even for one VHost, so 
I cannot claim that *that* will not work. Have you tried it?

Nix.