On Apr 30, 2006, at 12:57 AM, Wojciech Kocjan wrote:

Dnia 30-04-2006 o 00:42:30 John Buckman <[EMAIL PROTECTED]> napisaƂ:
I'm struggling to configure AOLserver to support multiple web sites, with independent TCP/IP addresses.

Can someone attach a config file example of multihoming?

The config file seems to support it, but there are both server- specific and global mentions of TCP/IP address and port #, so it's quite unclear how to transfer the sample config file into one that's multihome capable.

Notice you need to specify nssock multiple times and you need to configure each of it's instances.

The config file below seems to be to get one $server instance to listen to multiple IP addresses.

What I'm looking to do is have multiple $servers in one aolserver process

Iie: host several unrelated web sites with one aolserver process.

Doable? Config example?

-john



ns_section      "ns/server/$server/modules"
ns_param        "nssock1"                       "nssock.so"
ns_param        "nssock2"                       "nssock.so"


ns_section      "ns/server/$server/module/nssock1"
ns_param        "Port"                          "80"
ns_param        "Hostname"                      "www1.something.com"
ns_param        "Address"                       "10.0.0.1"

ns_section      "ns/server/$server/module/nssock2"
ns_param        "Port"                          "80"
ns_param        "Hostname"                      "www2.something.com"
ns_param        "Address"                       "10.0.0.2"

Of course ports may also differ.

--
Wojciech Kocjan
[EMAIL PROTECTED]


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to