Forum OpenACS Q&A: Response to 2 IPs, Apache, OpenACS/AolServer, 1 machine...?

Collapse
Posted by Bryan Che on
Yes, you can specify in your AOLserver ini file to what IP address and port the server responds. In the section,

Take a look at http://aolserver.com/docs/config.adp

and pay attention to the section that specifies:

#
# Socket driver module (HTTP)  -- nssock
#
ns_section "ns/server/${servername}/module/nssock"
ns_param   port            $httpport ;# Port for HTTP (typically 80)
ns_param   hostname        $host     ;# This is not the same as your hostname
ns_param   address         $address  ;# This is not the same as your host addr
ns_param   location        "url"     ;# URL for auto-redirects (trailing slash)

You also need to make sure that you have both IP addresses setup on the box. ifconfig -a should tell you if they are.