I apologize ahead of time for bumping my own post but I figure someone
out there must be able to help me solve my problem as I can't be the
only person to have this requirement.

Thanks again for any help provided.

Jon.

On 3/28/07, Jon Horsman <[EMAIL PROTECTED]> wrote:
To further clarify, i wouldn't have this problem if the <base
href="blah"> tag didn't get stuck into the page being served.  Is
here a way to tell axis2 not to add this in the <head> of the page?

On 3/28/07, Jon Horsman <[EMAIL PROTECTED]> wrote:
> I saw this parameter before i posted the question but i'm not sure how to
> use it to solve my problem.  I can change it to put in something like
> http://<ipaddress>/blah or http://<hostname>/blah but how can i set it
> so that it simply doesn't change the url from what was entered.  For
> example if i access http://<ipaddress>/axis2/ in my browser i would
> expect all links to start with http://<ipaddress>/axis2/ but if i
> access it with http://<hostname>/axis2/ i'd expect all links to start
> with http://<hostname>/axis2/.  Can you give me a hint as to how this
> is done with this httpFrontendHostUrl parameter?

On 3/28/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
> Please try to set the httpFrontendHostUrl parameter in the axis2.xml
> (axis2/WEB-INF/conf/axis2.xml)
>
> thanks,
> dims
>
> On 3/27/07, Jon Horsman <[EMAIL PROTECTED]> wrote:
> > Nobody has anything to add about this?  Should i be more specific in
> > my question?
> >
> > Thanks,
> >
> > Jon
> >
> > On 3/27/07, Jon Horsman <[EMAIL PROTECTED]> 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://<ipaddress>/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://<server ip address or
> > > hostname>/axis2/axis2-web/HappyAxis.jsp".  After viewing the source of
> > > the index page I noticed the following line "<base
> > > 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://<hostname>/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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to