tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alvin Lau" <C.P....@twi.tudelft.nl>
Subject RE: can tomcat work with SSL? and what i have to do if i only have a ip (not domain name)?
Date Tue, 21 Dec 1999 19:36:07 GMT
thankx, it is working now :->

-----Original Message-----
From: Twiggs, Glenn [mailto:Glenn_Twiggs@bmc.com]
Sent: Tuesday, December 21, 1999 5:06 PM
To: 'tomcat-dev@jakarta.apache.org'
Subject: RE: can tomcat work with SSL? and what i have to do if i only
hav eaip (not domain name)?


[alvin] It didn't work! the ip changed to my hostname automatically after i
click the links in the example page.


Alvin,

To correct this: in your apache httpd.conf file, set:

UseCanonicalName Off

As per the conf file comments,

# UseCanonicalName:  (new for 1.3)  With this setting turned on, whenever
# Apache needs to construct a self-referencing URL (a URL that refers back
# to the server the response is coming from) it will use ServerName and
# Port to form a "canonical" name.  With this setting off, Apache will
# use the hostname:port that the client supplied, when possible.  This
# also affects SERVER_NAME and SERVER_PORT in CGI scripts.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message