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