On 2007.03.05, Jamshed Qureshi <[EMAIL PROTECTED]> wrote:
> Is it possible to configure single aolserver instance to listen on 2
> TCP ports?
Absolutely. You simply load the "nssock" module twice:
#
# Socket driver module (HTTP) -- nssock
#
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
#
# Modules to load
#
ns_section "ns/server/${servername}/modules"
ns_param nssock ${bindir}/nssock.so
ns_param nssock2 ${bindir}/nssock.so
-- Dossy
--
Dossy Shiobara | [EMAIL PROTECTED] | http://dossy.org/
Panoptic Computer Network | http://panoptic.com/
"He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)
--
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.