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 some ip address , like 123.456.78.90
and it had the
hostnames "foo" and "bar" as CNAMES in DNS and I put the line
ServerName foo
In my mangus.conf but called the webserver with
http://bar/application/servlet/MyServlet then "MyServlet" is going to return
"foo" from 
HttpServletRequest.getServerName()

Does Jrun 3.1 fix this problem?  Or, is this a limitation of nsapi?  Does
iPlanet 6 fix this?  We'd really like to have this capability so we can do
dynamic configuration according to hostname in some of our applications, but
we prefer to use software virtual servers because of resources.

[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