Widgets used by HTTP server configuration
List of Global Functions
DefaultHostPopupInit - Fallback initialization function of a table entry / popup
DefaultHostPopupStore - Fallback store function of a table entry / popup
DirInit - Initialize directory table
DirPopupInit - Initialize directory popup
DirStore - Store directory map
DirTableContents - Contents of host table
HostDocumentRootSummary - Get document root for host
HostId2Key - Get value from id
HostInit - Initialize host widget
HostIsDefault - Is that host default?
HostName - Get server name for host
HostStore - Store host settings
HostTableContents - Function for getting contents of the default host table
HostTableEntryDelete - Delete function of the global table
HostTableEntrySummary - Fallback summary function of a table entry / popup
HostsContents - Hosts contents
HostsDelete - Widget for delete host
HostsHandle - Handle host widget
HostsInit - Initialize hosts table widget
ReloadServer - Reload server
SSLInit - Initialize SSL widget
SSLStore - Store SSL setting
SSLTableContents - Function for getting contents of the default host table
SSLTypeStore - Store SSL type
getDirOptions - Get directory options
getHostOptions - Get host options
get_host_value - Get host value
handleDirTable - Handle directory table
handleExpertConf - Handler for expert configuration
handleHostTable - Handler for editing default host. Handles additional buttons, like logs and modules. Rest is passed to TablePopup::TableHandle.
handleListenSettings - Handle function of a widget
handleModules - Handle function of a widget
handleOpenPort - Handling open port
handleSSLTable - Handle SSL widget table
handleServiceStatus - Handling service status
initAdaptFirewall - Initialization function for firewall adapting
initFwOpen - Initialize firewall settings
initListenInterfaces - Initialize listen interfaces
initListenSettings - Initialize function of a widget
initModules - Initialize function of a widget
initOpenPort - Initialize open port
initServiceStatus - Initialize function of a widget
listen2item - Convert a Listen string to an item for table. Splits by the colon.
setHostOptions - Set host options
set_host_value - Set host value
storeAdaptFirewall - Store function for firewall adapting
storeFwOpen - Store firewall settings
storeServiceStatus - Store function of a widget
validateOpenPort - Validation open port
validate_server - Function for validate server entries
validate_server_fnc - Validate server function
validate_serverip - Validate IP for host
validate_servername - Validate server name
Fallback initialization function of a table entry / popup
Function parameters
any option_id
string option_type
Return value
void
Fallback store function of a table entry / popup
Function parameters
any option_id
string option_type
Return value
void
Initialize directory popup
Function parameters
any option_id
string option_type
Return value
void
Contents of host table
Function parameters
map descr
Return value
list - host contents
Get document root for host
Function parameters
any key
string id
Return value
string - document root
Get value from id
Function parameters
map desc
any option_id
Return value
string - value
Is that host default?
Function parameters
any widget
string key
Return value
boolean - is_default?
Get server name for host
Function parameters
any key
string id
Return value
string - server name
Function for getting contents of the default host table
Function parameters
map descr
Return value
list - of items for the table
Delete function of the global table
Function parameters
any opt_id
string opt_key
Return value
boolean - true if was really deleted
Fallback summary function of a table entry / popup
Function parameters
any option_id
string option_type
Return value
string - table entry summary
Widget for delete host
Function parameters
any opt_id
string opt_key
Return value
boolean - delete success
Handle host widget
Function parameters
string table
map event
Return value
symbol - (`add, `edit)
Function for getting contents of the default host table
Function parameters
map descr
Return value
list - of items for the table
Store SSL type
Function parameters
any option_id
string option_type
Return value
void
Get host options
Function parameters
boolean mainhost
Return value
map - host options
Get host value
Function parameters
string keyword
list< map<string, any> > host
any defaultvalue
Return value
any - host value
Handle directory table
Function parameters
string key
map event
Return value
symbol - tablehandle
Handler for expert configuration
Function parameters
string key
map event
Return value
symbol - (nil, `expert)
Handler for editing default host. Handles additional buttons, like logs and modules. Rest is passed to TablePopup::TableHandle.
Function parameters
string key
map event
Return value
symbol - the result of the handling
Handle function of a widget
Function parameters
string key
map event
Return value
symbol - symbol for WS or nil
Handle function of a widget
Function parameters
string key
map event
Return value
symbol - symbol for WS or nil
Handling open port
Function parameters
string key
map event
Return value
symbol - nil
Handle SSL widget table
Function parameters
string key
map event
Return value
symbol - sslhandle
Handling service status
Function parameters
string key
map event
Return value
symbol - (`overview_table, `edit. `menu)
Initialization function for firewall adapting
Function parameters
string key
Return value
void
Initialize listen interfaces
Function parameters
string key
Return value
void
Initialize function of a widget
Function parameters
string key
Return value
void
Initialize function of a widget
Function parameters
string key
Return value
void
Convert a Listen string to an item for table. Splits by the colon.
Function parameters
map<string,any> arg
integer id
Return value
term - term for the table
Set host options
Function parameters
map < integer, map < string,any > > new_options
Return value
void
Set host value
Function parameters
string keyword
list< map<string, any> > host
any value
Return value
list< map<string,any> > - host map
Store function for firewall adapting
Function parameters
string opt_id
map event
Return value
void
Store firewall settings
Function parameters
string opt_id
map event
Return value
void
Store function of a widget
Function parameters
string key
map event
Return value
void
Function parameters
string key
map event
Return value
boolean - validate interfaces
Validation open port
Function parameters
string key
map event
Return value
boolean - validate open port
Function for validate server entries
Function parameters
string hostid
list < map<string,any> > server
Return value
boolean - valid server
Validate server function
Function parameters
string id
map key
Return value
boolean - validate
Validate IP for host
Function parameters
any id
any key
map event
Return value
boolean - is IP valid