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

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 ... ServerName www.i-com.com:8019 ... ### ### workers2.properties ### [logger] level=DEBUG [shm] file=/usr/local/apache2/logs/jk2.shm size=1048576 [channel.socket:loca

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 :

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 in the server.xml? > Touche!! :)) I dont think i ever tested contexts so may be y

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

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 >

RE: [JK2] new uriMap using hostname:port

2002-09-24 Thread Mladen Turk
> -Original Message- > From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]] > > Listen 8081 > NameVirtualHost *:8081 > > ServerAdmin [EMAIL PROTECTED] > DocumentRoot "E:/Apache2/htdocs/www.ciberlogic.com_8081" > ServerName www.hippo.com:8081 > ErrorLog logs/www.ciberlogi

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 i

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] file=/usr/local/a

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 ServerAdmin [EMAIL P

RE: [JK2] new uriMap using hostname:port

2002-09-23 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

Re: [JK2] new uriMap using hostname:port

2002-09-23 Thread Dmitry Letin
of the mappings work, even jkstatus Did you have i chance to look at the simple patch that I used: http://www.mail-archive.com/tomcat-user%40jakarta.apache.org/msg66936.html List: tomcat-dev Subject: [JK2] new uriMap using hostname:port From: "Mladen Turk" <[EMAIL PRO

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 -I/home/euge

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 ServerAlias ... JkUriSet By this criteria, I would prefer use of '_default_' for the default server. For the syntax of HOST,

[JK2] new uriMap using hostname:port

2002-09-23 Thread Mladen Turk
Think I didn't miss something :) Here is how it works: All the mappings are done in the following way: [:port] Meaning '*' is used for the default host. You can make now something like: [uri:*:8080] Info=will map the all the default servers on the port 8080 Aliases should work now: [uri: