mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Initial skeleton of mod_tls
This commit is contained in:
BIN
gray-theme/proftpd/images/type_icon_7.gif
Normal file
BIN
gray-theme/proftpd/images/type_icon_7.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.3 KiB |
BIN
proftpd/images/type_icon_7.gif
Normal file
BIN
proftpd/images/type_icon_7.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 364 B |
@@ -382,6 +382,8 @@ mod_readme_display=Notify user of readme files matching
|
||||
mod_readme_none=None
|
||||
mod_readme_edisplay=Missing readme files pattern
|
||||
|
||||
mod_tls_engine=Enable SSL encryption?
|
||||
|
||||
start_err=Failed to start FTP server
|
||||
start_einetd=You cannot start the server daemon when in inetd mode.
|
||||
|
||||
|
||||
20
proftpd/mod_tls.pl
Normal file
20
proftpd/mod_tls.pl
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
sub mod_tls_directives
|
||||
{
|
||||
local $rv = [
|
||||
[ 'TLSEngine', 0, 0, 'virtual global', 1.27 ],
|
||||
];
|
||||
return &make_directives($rv, $_[0], "mod_tls");
|
||||
}
|
||||
|
||||
sub edit_TLSEngine
|
||||
{
|
||||
return (2, $text{'mod_tls_engine'},
|
||||
&choice_input($_[0]->{'value'}, "TLSEngine", "",
|
||||
"$text{'yes'},on", "$text{'no'},off",
|
||||
"$text{'default'},"));
|
||||
}
|
||||
sub save_TLSEngine
|
||||
{
|
||||
return &parse_choice("TLSEngine", "");
|
||||
}
|
||||
Reference in New Issue
Block a user