Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 73800 invoked from network); 10 Jul 2003 17:13:51 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 10 Jul 2003 17:13:51 -0000 Received: (qmail 14120 invoked by uid 97); 10 Jul 2003 17:16:22 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 14112 invoked from network); 10 Jul 2003 17:16:22 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 10 Jul 2003 17:16:22 -0000 Received: (qmail 69863 invoked by uid 500); 10 Jul 2003 17:13:05 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 69778 invoked from network); 10 Jul 2003 17:13:04 -0000 Received: from smtp01.web.de (HELO smtp.web.de) (217.72.192.180) by daedalus.apache.org with SMTP; 10 Jul 2003 17:13:04 -0000 Received: from port-212-202-78-3.reverse.qsc.de ([212.202.78.3] helo=sgc.web.de) by smtp.web.de with asmtp (WEB.DE 4.98 #218) id 19aeyh-0004QV-00 for tomcat-user@jakarta.apache.org; Thu, 10 Jul 2003 19:13:07 +0200 Message-Id: <5.2.1.1.0.20030710190821.00c66648@imap.web.de> X-Sender: Simon.Pabst@imap.web.de X-Mailer: QUALCOMM Windows Eudora Version 5.2.1 Date: Thu, 10 Jul 2003 19:13:08 +0200 To: "Tomcat Users List" From: Simon Pabst Subject: Re: JK Connector url rewrite question In-Reply-To: <3F0D8058.2040606@sockeye.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: Simon.Pabst@web.de X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hmm, sure you don't use a proxy connection toconnect to tomcat instead of mod_jk? :-) My other guess would be to check Apache's httpd.conf for UseCanonicalName and ServerName If ServerName is my.hostname.com and UseCanonicalName is on Apache uses always Servername instead of the URL you typed in Browser, if you want to keep the Browser typed URL set UseCanonicalName Off At 11:03 10.07.2003 -0400, you wrote: >I'm running an Apache/Tomcat combination using mod_jk. Whenever I enter a >URL to hit the apache server, somewhere along the redirect to tomcat the >server portion of the url gets changed. > >So, if I type > >http://localhost/myapp > >I actually get in the browser > >http://my.hostname.com/myapp > >This even happens if I type the IP address, rather than a hostname. I'd >really like it to not do this, and just use the hostname or IP address >that I type in, but I can't seem to find any hook to change this >behavior. Can anybody help? > >Noel Rappin > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org