Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 24398 invoked from network); 2 Mar 2004 11:13:26 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Mar 2004 11:13:26 -0000 Received: (qmail 36395 invoked by uid 500); 2 Mar 2004 11:12:45 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 36379 invoked by uid 500); 2 Mar 2004 11:12:45 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 36363 invoked from network); 2 Mar 2004 11:12:44 -0000 Received: from unknown (HELO mail.bsch.es) (195.53.80.250) by daedalus.apache.org with SMTP; 2 Mar 2004 11:12:44 -0000 Received: from chequeo3.bsch (ip_nat_slb.bsch [172.22.144.206]) by mail.bsch.es (8.11.6+Sun/8.11.6) with SMTP id i22BD0I23695 for ; Tue, 2 Mar 2004 12:13:00 +0100 (MET) Received: From scesmadt03.bsch ([172.21.1.105]) by chequeo3.bsch (WebShield SMTP v4.5 MR1a P0803.345); id 1078225136984; Tue, 2 Mar 2004 11:58:56 +0100 Received: by scesmadt03.bsch with Internet Mail Service (5.5.2657.72) id ; Tue, 2 Mar 2004 11:55:43 +0100 Message-ID: From: Maceda Marcos To: users@httpd.apache.org Date: Tue, 2 Mar 2004 11:49:24 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] mod_include do NOT use the correct JK2 worker X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, I am testing Apache-Tomcat in Windows 2000 Server for my purposes but finally this will work in production over a Intel-Linux machine undetermined by now. I have connected Apache 2.0.43 and Tomcat 4.1.12 via jk2 using the binary versions for the Windows NT plattform: - jakarta-tomcat-connectors-jk2.0.2-win32-apache2.0.43.zip - apache_2.0.43-win32-x86-no_ssl.msi - jakarta-tomcat-4.1.12.zip I have configured two JK2 workers that resolve to two different tomcat webapp in two different tomcat services. I show you my config files below. My Apache virtual hosts are in ports 80 and 90 and have configured mod_include and the option +IncludesNOEXEC. Now my problem. If I query a Tomcat mounted URI in the port 80 i get the correct answer from the tomcat listening the worker 'worker1' If I query a Tomcat mounted URI in the port 90 i get the correct answer from the tomcat listening the worker 'worker2' For example (correct answers): - //localhost/app/test/test.jsp - //localhost:90/app/test/test.jsp But, if I query with a SSI: - The answer is always get from the worker defined in workers2.properties with 8009 port no matter wich virtual host is supposed to resolve it. Do you have any idea? Could be a bug? in mod_include? in JK2? in Apache2? Do you think that this will be corrected if i 'degrade' to JK1 conectors? I have search in all the bug databases and change_logs i found and dont think it is fixed. Thanks for your time. Marcos My config files are: workers2.properties (full) -------------------------- [shm] file=c:/temp/shm.file size=1000000 [channel.socket:localhost:8010] [channel.socket:localhost:8009] [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [ajp13:localhost:8010] channel=channel.socket:localhost:8010 [uri:localhost:90/app/*] worker=ajp13:localhost:8010 [uri:localhost:80/app/*] worker=ajp13:localhost:8009 httpd.conf (only where i think is relevant) ------------------------------------------- ... LoadModule jk2_module modules/mod_jk2-2.0.43.dll LoadModule include_module modules/mod_include.so ... #ServerName localhost:80 ... AddType text/html .shtml ... AddOutputFilter INCLUDES .jsp AddOutputFilter INCLUDES .shtml ... Listen 80 Listen 90 NameVirtualHost *:80 NameVirtualHost *:90 ServerName localhost DocumentRoot C:/opt/www/live Options Indexes FollowSymLinks +IncludesNOEXEC Options Indexes FollowSymLinks +IncludesNOEXEC MultiViews AllowOverride None Order allow,deny Allow from all ServerName localhost DocumentRoot C:/opt/www/dev Options Indexes FollowSymLinks +IncludesNOEXEC Options Indexes FollowSymLinks +IncludesNOEXEC MultiViews AllowOverride None Order allow,deny Allow from all Tomcat server.xml (oly relevant) -------------------------------- I think this is not related with the problem. ******************AVISO LEGAL****************** Este mensaje es privado y confidencial y solamente para la persona a la que va dirigido. Si usted ha recibido este mensaje por error, no debe revelar, copiar, distribuir o usarlo en ningun sentido. Le rogamos lo comunique al remitente y borre dicho mensaje y cualquier documento adjunto que pudiera contener. No hay renuncia a la confidencialidad ni a ningun privilegio por causa de transmision erronea o mal funcionamiento. Cualquier opinion expresada en este mensaje pertenece unicamente al autor remitente, y no representa necesariamente la opinion de Santander Central Hispano, a no ser que expresamente se diga y el remitente este autorizado para hacerlo. Los correos electronicos no son seguros, no garantizan la confidencialidad ni la correcta recepcion de los mismos, dado que pueden ser interceptados, manipulados, destruidos, llegar con demora, incompletos, o con virus. Santander Central Hispano no se hace responsable de las alteraciones que pudieran hacerse al mensaje una vez enviado. Este mensaje solo tiene una finalidad de informacion, y no debe interpretarse como una oferta de venta o de compra de valores ni de instrumentos financieros relacionados. En el caso de que el destinatario de este mensaje no consintiera la utilizacion del correo electronico via Internet, rogamos lo ponga en nuestro conocimiento. ******************DISCLAIMER****************** This message is private and confidential and it is intended exclusively for the addressee. If you receive this message by mistake, you should not disseminate, distribute or copy this e-mail. Please inform the sender and delete the message and attachments from your system. No confidentiality nor any privilege regarding the information is waived or lost by any mistransmission or malfunction. Any views or opinions contained in this message are solely those of the author, and do not necessarily represent those of Santander Central Hispano, unless otherwise specifically stated and the sender is authorised to do so. E-mail transmission cannot be guaranteed to be secure, confidential, or error-free, as information could be intercepted, corrupted, lost, destroyed, arrive late, incomplete, or contain viruses. Santander Central Hispano does not accept responsibility for any changes in the contents of this message after it has been sent. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. If the addressee of this message does not consent to the use of internet e-mail, please communicate it to us. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org