Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 14124 invoked from network); 28 Mar 2007 03:53:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Mar 2007 03:53:55 -0000 Received: (qmail 98797 invoked by uid 500); 28 Mar 2007 03:53:52 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 98775 invoked by uid 500); 28 Mar 2007 03:53:52 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 98764 invoked by uid 99); 28 Mar 2007 03:53:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2007 20:53:52 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of horshaq@gmail.com designates 64.233.184.228 as permitted sender) Received: from [64.233.184.228] (HELO wr-out-0506.google.com) (64.233.184.228) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Mar 2007 20:53:43 -0700 Received: by wr-out-0506.google.com with SMTP id i30so2153745wra for ; Tue, 27 Mar 2007 20:53:23 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tJKVj+8pkZFKe+NLoyqdUCpqxSFuOoYKH35z8NmlvJbqjC4mUzuH7xlHzr3uAQsvJc3+jBxbq6D98AyraUOqfh/bRMy9bxhu9cQ1NPOuKt6pEE85BckQcfd8K/M67AuwgoOqG/mlwODAiPl3dZ/P4qvWM5J30F2pQcB1aUQ7Ke0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ObmxfaoFn2BW/d/vpBbDPC/SfzuWQvbO2K/RvgbqRU19Md/eNEhue6WH6Wuk2LkeVKG0BwSa7uI3mcVxRheFA1qiF/rEx3fpdTdt/Ov9T5nsP1JxCQP8Mdm5naHa2IX4xjeH6HwidOh4ySt69OjFyLyWZXlZb1EZF66tPT98jbg= Received: by 10.114.113.1 with SMTP id l1mr3460197wac.1175054002211; Tue, 27 Mar 2007 20:53:22 -0700 (PDT) Received: by 10.114.47.8 with HTTP; Tue, 27 Mar 2007 20:53:22 -0700 (PDT) Message-ID: <4f4c2a010703272053h571109e2v820cb34b03619417@mail.gmail.com> Date: Tue, 27 Mar 2007 23:53:22 -0400 From: "Jon Horsman" To: axis-user@ws.apache.org Subject: Re: base href problems In-Reply-To: <4f4c2a010703270910q67ebfa4fx35b9fb7bef5da969@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4f4c2a010703270910q67ebfa4fx35b9fb7bef5da969@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Nobody has anything to add about this? Should i be more specific in my question? Thanks, Jon On 3/27/07, Jon Horsman wrote: > Hello, > > I'm trying to run the axis server in tomcat behind an apache > webserver. Our app will be deployed on a LAN where DNS servers may > not be present. > > The problem i'm having is that when i go to the axis2 start page > https:///axis2/ > the images and links aren't working even though they are relative > links. I get links like > "https://localhost/axis2/axis2-web/HappyAxis.jsp" when in fact it > should be "https:// hostname>/axis2/axis2-web/HappyAxis.jsp". After viewing the source of > the index page I noticed the following line " href="https://localhost/axis2/"/>". This explains why the links and > images are going to localhost instead of the IP or hostname that was > originally requested. I can change this behavior by setting the > proxyName property in tomcat's server.xml file but if i change it to > use the hostname this then fails on networks that don't have a DNS > server. If i change it to include the IP address this then screws up > certificates when someone accesses the page like > https:///axis2/ since they get a certificate back with an IP > instead of the hostname. > > Ideally asis2 wouldn't make assumptions and it would return the IP > address if it was requested or return the hostname if it was > requested. Is there a way to set up axis so that this is the case? > > Thanks, > > Jon. > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org