| Server IP : 89.117.53.150 / Your IP : 216.73.216.11 Web Server : Apache System : Linux server2.hostofiraq.site 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64 User : iscmbt-kufa-atu ( 1014) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/usermin/htaccess/ |
Upload File : |
# mod_auth_digest.pl
# Defines editors for digest authentication directives
sub mod_auth_digest_directives
{
local($rv);
$rv = [ [ 'AuthDigestAuthoritative', 0, 4, 'directory htaccess', '-2.4' ],
[ 'AuthDigestProvider', 0, 4, 'directory htaccess' ],
[ 'AuthDigestAlgorithm', 0, 4, 'directory htaccess' ],
];
return &make_directives($rv, $_[0], "mod_auth_digest");
}
sub edit_AuthDigestAuthoritative
{
return (1, $text{'mod_auth_digest_pass'},
&choice_input($_[0]->{'value'}, "AuthDigestAuthoritative", "",
"$text{'yes'},off", "$text{'no'},on", "$text{'default'},") );
}
sub save_AuthDigestAuthoritative
{
return &parse_choice("AuthDigestAuthoritative", "");
}
sub edit_AuthDigestProvider
{
return (1, $text{'mod_auth_digest_prov'},
&ui_select("AuthDigestProvider", $_[0] ? $_[0]->{'words'} : [ ],
[ [ "file", $text{'mod_auth_basic_file'} ],
[ "dbm", $text{'mod_auth_basic_dbm'} ] ],
3, 1, 1));
}
sub save_AuthDigestProvider
{
local $p = $in{'AuthDigestProvider'};
return ( $p ? [ join(" ", split(/\0/, $p)) ] : [ ] );
}
sub edit_AuthDigestAlgorithm
{
# MD5-sess is not correctly implemented yet!
# https://httpd.apache.org/docs/2.4/mod/mod_auth_digest.html#authdigestalgorithm
return (1, $text{'mod_auth_digest_al'},
&choice_input($_[0]->{'value'}, "AuthDigestAlgorithm", "",
"MD5,MD5", "MD5-sess,MD5-sess", "$text{'default'},") );
}
sub save_AuthDigestAlgorithm
{
return &parse_choice("AuthDigestAlgorithm", "");
}
sub edit_AuthDigestDomain
{
return (2,
$text{'mod_auth_digest_domain'},
&opt_input($_[0]->{'value'}, "AuthDigestDomain", $text{'core_default'}, 50));
}
sub save_AuthDigestDomain
{
return &parse_opt("AuthDigestDomain", '\S',
$text{'mod_auth_digest_edomain'});
}