Difference between revisions of "Conf/Servers"

From AOLserver Wiki
Jump to navigation Jump to search
 
Line 6: Line 6:
 
''Normally there is only one virtual server if used as an application server.''
 
''Normally there is only one virtual server if used as an application server.''
  
$server is the name of the global parameter [[Conf/Parameters/ServerName]] that names this AOLserver instance.
+
Each param line defines a server_name server_description pair
  
 
  ns_section "ns/servers"
 
  ns_section "ns/servers"
     ns_param  $server foo
+
     ns_param  server1 "Website 1"
     ns_param  $server bar
+
     ns_param  server2 "Website 2"
     ns_param  $server baz
+
     ns_param  server3 "Website 3"

Latest revision as of 09:35, 9 July 2012

ns_section "ns/servers"

part of AOLServer Config Reference

List all the virtual servers that are served by this instance.

Normally there is only one virtual server if used as an application server.

Each param line defines a server_name server_description pair

ns_section "ns/servers"
   ns_param   server1  "Website 1"
   ns_param   server2  "Website 2"
   ns_param   server3  "Website 3"