73. HttpServerWidgets

Widgets used by HTTP server configuration

73.1. Summary of Module Globals

List of Global Functions

List of Global Variables

73.2. Global Functions

73.2.1. DefaultHostPopupInit

Fallback initialization function of a table entry / popup

Function parameters

  • any option_id

  • string option_type

Return value

  • void

73.2.2. DefaultHostPopupStore

Fallback store function of a table entry / popup

Function parameters

  • any option_id

  • string option_type

Return value

  • void

73.2.3. HostTableContents

Function for getting contents of the default host table

Function parameters

  • map descr

Return value

  • list - of items for the table

73.2.4. HostTableEntryDelete

Delete function of the global table

Function parameters

  • any opt_id

  • string opt_key

Return value

  • boolean - true if was really deleted

73.2.5. HostTableEntrySummary

Fallback summary function of a table entry / popup

Function parameters

  • any option_id

  • string option_type

Return value

  • string - table entry summary

73.2.6. SSLTableContents

Function for getting contents of the default host table

Function parameters

  • map descr

Return value

  • list - of items for the table

73.2.7. handleHostTable

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

73.2.8. handleListenSettings

Handle function of a widget

Function parameters

  • string key

  • map event

Return value

  • symbol - symbol for WS or nil

73.2.9. handleModules

Handle function of a widget

Function parameters

  • string key

  • map event

Return value

  • symbol - symbol for WS or nil

73.2.10. initAdaptFirewall

Initialization function for firewall adapting

Function parameters

  • string key

Return value

  • void

73.2.11. initListenSettings

Initialize function of a widget

Function parameters

  • string key

Return value

  • void

73.2.12. initModules

Initialize function of a widget

Function parameters

  • string key

Return value

  • void

73.2.13. initServiceStatus

Initialize function of a widget

Function parameters

  • string key

Return value

  • void

73.2.14. listen2item

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

73.2.15. showAccessLogPopup

Handle function of the access log button (the first defined access log file)

Function parameters

  • any key

  • map event

Return value

  • symbol - value for wizard sequencer, always nil

73.2.16. showErrorLogPopup

Handle function of the error log button

Function parameters

  • any key

  • map event

Return value

  • symbol - value for wizard sequencer, always nil

73.2.17. storeAdaptFirewall

Store function for firewall adapting

Function parameters

  • string opt_id

  • map event

Return value

  • void

73.2.18. storeServiceStatus

Store function of a widget

Function parameters

  • string key

  • map event

Return value

  • void

73.3. Global Variables

73.3.1. popups

Map of popups for CWM

73.3.2. widgets

Map of widgets for CWM

73.4. Module Requirements

73.4.1. Module Imports

  • CWMServiceStart
  • Confirm
  • DNS
  • Directory
  • Hostname
  • Hostname
  • HttpServer
  • IP
  • IP
  • Label
  • LogView
  • Mode
  • Popup
  • Report
  • Service
  • String
  • SuSEFirewall
  • TablePopup
  • YaST::HTTPDData

73.4.2. Module Includes

  • http-server/helps.ycp