Webmin Module Structure

Module Layout for Webmin

The directory structure for Webmin Modules is only slightly different for RHEL and Debian systems.

Both are shown below.

It's recommended to download a copy and make changes in test environment prior to deploying customizations.

For RHEL systems, it is show as below:

/usr/libexec/webmin
  • <java server> /
    • help/
      • intro.html
    • images/
      • icon pngs
    • lang/
      • en
    • .cgi
    • .pl
File/Folder Purpose
<java server>/ The server installed (e.g. tomcat)
help/intro.html Pop-up content for help menu
images/*.png Contains icon images
lang/en Contains the text used in the module
*.cgi Module cgi files
*.pl Module Perl files

For Debian systems, it is show as below:

/usr/share/webmin
  • <java server> /
    • help/
      • intro.html
    • images/
      • icon pngs
    • lang/
      • en
    • .cgi
    • .pl
File/Folder Purpose
<java server>/ The server installed (e.g. tomcat)
help/intro.html Pop-up content for help menu
images/*.png Contains icon images
lang/en Contains the text used in the module
*.cgi Module cgi files
*.pl Module Perl files

Up Next: Customizing

Customizing Webmin Modules