We use the configuration you outlined below with 3.4, except that we
use port 80 on different IP addresses. Works great.
Jim
>
> Hi,
>
> I want to run AOLserver on two ports, 80 and 81. 80 will be for the internet
> and 81 for the intranet. I would like to share the Ns_Caches between both
> servers, so as I understand it, the servers must run in the same process to
> share the Ns_Caches. AOLserver 4.0b2 has the option
> -B bind address:port list from <file>
> but how do I specify nssock to listen on both ports? I have figured that I
> need to have two nssock modules running, but how? Would this work?
>
> ns_section "ns/server/${servername}/module/nssock"
> ns_param port 80
> ns_param hostname $hostname
> ns_param address $address
>
> ns_section "ns/server/${servername}/module/nssock2"
> ns_param port 81
> ns_param hostname $hostname
> ns_param address $address
>
> ns_section "ns/server/${servername}/modules"
> ns_param nssock ${bindir}/nssock.so
> ns_param nssock2 ${bindir}/nssock.so
> [...]
>
> Thanks,
> Jason
>