> From: vgud [mailto:ivan.gudi...@yahoo.com] > Subject: Re: getServerName returns 'localhost' > > So, could it be configured somehow to make me able get > correct domain?
Only if you added all possible domain names and variations thereof that get to that system's IP address(es). As Peter suggests, the proper approach is to use the HOST header in the request. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org