Version 1 of Minimal Config

Updated 2014-08-21 14:57:08 by achisholm

Minimal Configuration - the bare minimum

cat

# Name/description/domain of the virtual server
set        server_name                alpha

        
################################################################
# Modules
################################################################
ns_section        "ns/modules"
   # Modules to load for the server(s)
   ns_param        nssock                        /usr/lib/naviserver/bin/nssock.so


################################################################
# Servers
################################################################
ns_section        "ns/servers"
   # The server(s)
   ns_param        $server_name             "Naviserver $server_name"

#################################################################
# Deprecated?
#################################################################
# ns_section         "ns/server/${server_name}"
#    ns_param     directoryfile           "index.html"
#    ns_param     pagedir                 /var/www/alpha.co.uk


#################################################################
#
#################################################################
ns_section         "ns/module/nssock/servers"
   # Specify the server(s) and their addresses
   ns_param           $server_name                 alpha.co.uk


# ################################################################
# # Fastpath
# ################################################################
ns_section        "ns/server/${server_name}/fastpath"

   # Defines absolute or relative to serverdir directory where all
   # html/adp pages are located
   ns_param            pagedir               /var/www/alpha.co.uk

   # Directory index/default page to look for.
   ns_param        directoryfile         "index.html"