RE: [JK2] new uriMap using hostname:port

2002-09-24 Thread Mladen Turk
-Original Message- From: Dmitry Letin [mailto:[EMAIL PROTECTED]] :-) [uri:*] alias=localhost debug=10 [uri:www.i-com.com:80] debug=10 If the 80 is default server port then you have to ommit it Simply use the [uri:www.i-com.com] The port directive is used for non

RE: [JK2] new uriMap using hostname:port

2002-09-24 Thread Ignacio J. Ortega
Hola Mladen, there are already some problems with port based VS hosting, in httpd.conf you have: ( i use apache2 for testing IIS vhost support, blame on w2kp :(, dont point me the JkUriSet method for config vhosts in apache, please :) Listen 8081 NameVirtualHost *:8081 VirtualHost *:8081

Re: [JK2] new uriMap using hostname:port

2002-09-24 Thread Dmitry Letin
I do not know what is wrong, but I just updated the jk subdirectory from the CVS, built mod_jk2.so by running make in jk/native2, installed it to apache2/conf and tried different combinations of workers2.properties: START OF workers2.properties [logger] level=DEBUG [shm]

RE: [JK2] new uriMap using hostname:port

2002-09-24 Thread Mladen Turk
-Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] ServerName www.hippo.com:8081 This is the problem (I forgot that the server name can have a port) and a wk2.p file with only [uri:www.hippo.com:8081/examples/*] will not work, to solve it we need

RE: [JK2] new uriMap using hostname:port

2002-09-24 Thread Ignacio J. Ortega
De: Mladen Turk [mailto:[EMAIL PROTECTED]] Enviado el: 24 de septiembre de 2002 16:31 From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] and a wk2.p file with only [uri:www.hippo.com:8081/examples/*] will not work, to solve it we need to revert the correctHosts function

RE: [JK2] new uriMap using hostname:port

2002-09-24 Thread Mladen Turk
From Dmitry Letin And I do not see messages like this in error log: [Sat Sep 21 18:09:40 2002] (debug ) [jk_uriMap.c (371)] uriMap.init() loaded host www.i-com.com Try setting LogLevel to debug in the httpd.conf Post the ServerName, Listen and VirtualHost from your httpd.conf And

RE: [JK2] new uriMap using hostname:port

2002-09-24 Thread Ignacio J. Ortega
[uri:www.hippo.com:8081/examples/*] And where is your context :) This is app. [uri:www.hippo.com:8081/examples/*] context=/examples It works (just checked the same config) Do you have Host in the server.xml? Touche!! :)) I dont think i ever tested contexts so may be you are

RE: [JK2] new uriMap using hostname:port

2002-09-24 Thread Ignacio J. Ortega
De: Mladen Turk [mailto:[EMAIL PROTECTED]] Enviado el: 24 de septiembre de 2002 17:03 [uri:www.i-com.com:8019] [uri:www.i-com.com:8019/examples/*] context=/examples Should work. This is exactly what correctHost did :)), to obviate the need to declare hosts in wk2.p file :)), so

Re: [JK2] new uriMap using hostname:port

2002-09-24 Thread Dmitry Letin
I have IP-based virtual host, not name-based ### ### http.conf ### ... Listen www.i-com.com:8019 LogLevel debug ... VirtualHost www.i-com.com:8019 ServerName www.i-com.com:8019 ... /VirtualHost ### ### workers2.properties ### [logger] level=DEBUG [shm]

RE: [JK2] new uriMap using hostname:port

2002-09-24 Thread Mladen Turk
-Original Message- From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] This is exactly what correctHost did :)), to obviate the need to declare hosts in wk2.p file :)), so this is the problem we are having, mistery resolved.. ;) But now i know i'm totally -1 about to delete

Re: [JK2] new uriMap using hostname:port

2002-09-23 Thread Costin Manolache
All that matter to me is to preserve the equivalence with 'native' apache config. In other words, [uri:HOST:PORT/URL] properties Must be equivalent with VirtualHost addr:port ... ServerAlias ... Location /URL JkUriSet /Location /VirtualHost By this criteria, I would prefer use of

Re: [JK2] new uriMap using hostname:port

2002-09-23 Thread Eugene Gluzberg
Yikes! today's version no longer compiles without APR on 1.3: [so] Output: [so] rm -f /home/eugene/tomcat/jakarta-tomcat-connectors/jk/build/jk2/apache13/common/.libs/jk_uriEnv.lo [so] cc -c -I/home/eugene/tomcat/jakarta-tomcat-connectors/jk/native2/include

Re: [JK2] new uriMap using hostname:port

2002-09-23 Thread Dmitry Letin
Does not work for me for some reason. I have updated to latest version of CVS and recompiled mod_jk2.so for apache2. I looks that it does not load hosts at all. Before I had this in my jk2 log file: [Sat Sep 21 18:09:40 2002] (debug ) [jk_uriMap.c (371)] uriMap.init() loaded host