Has anyone else had a problem like this:
We are using iPlanet Web Server Enterprise 4.1 SP2 and Jrun 3.0 SP2 and
doing software virtual hosting on some of our websites.
The problem is that HttpServletRequest.getServerName() doesn't return the
server name for the virtual host, but instead returns what was defined for
ServerName in the magnus.conf .

For instance, if I had a web server at 255.255.255.0 and it had the
hostnames "foo" and "bar" and I put the line
ServerName foo
In my mangus.conf but called the webserver with http://bar <http://bar>
/application/servlet/MyServlet then "MyServlet" is going to return "foo"
from HttpServletRequest.getServerName()


[EMAIL PROTECTED] (512)-236-6244
---
The first thing was, I learned to forgive myself. Then, I told myself, "Go
ahead and do whatever you want, it's okay by me."  -- Deep Thoughts by Jack
Handey


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to