PDA

View Full Version : Virtual hosts--- help!



Guest.Visitor
01-01-1995, 02:00 AM
I am searching for documentation on how to configure one server instance with one TCP/IP address, and one designated port for multiple virtual hosts. Any suggestions?? I've checked IBM's manuals and I haven't found the information that I am looking for. I want to support three environments. Example: https://10.10.10.85:2500/test1 https://10.10.10.85:2500/test2 https://10.10.10.85:2500/test3 From what I can find, two properties make the server instance unique: port number and host name. We are trying to use the same port number. In the above listed URL examples, does the /test1, /test2, and /test3 make the URL unique? In other words, is the entire URL used or just the host name field(Ip address in this example) or the port number field (:2500 in this example).

J.Pluta
10-06-2000, 09:37 AM
AFAIK, only Microsoft IIS supports virtual hosting; IBM HTTP Server (like most HTTP servers) only goes to the port level. Joe

Guest.Visitor
10-07-2000, 01:17 AM
In your URL example, that can be accomplished by using MAP and PASS directive since they all using the same IP address and port number. However, if you want to implement multi-domain names with the same IP address, you need to have the following requirements: 1) OS400 version of V4R3 or higher. 2) Internal DNS server. 3) The client browser must support HTTP 1.1 instead of HTTP 1.0. The Web Master Admin guide has all the detail of how to, and it is quite simple to setup one up. Shawn Fu

Guest.Visitor
10-11-2000, 07:24 AM
IBM's http server does support virtual hosting, but as Shawn pointed out, this is really a MAP/PASS directive and not really virtual hosting. Brad

Guest.Visitor
10-12-2000, 08:32 AM
Joseph, The UDATE is the date the job entered the subsystem. To get the latest and greates date, use the TIME operation. C TIME TIMER 12 0 The last 6 positions in the field TIMER are the current YYMMDD. -bret

Guest.Visitor
10-12-2000, 08:38 AM
<pre> D SysDate S D datfmt( *usa ) C time SysDate</pre>