403Webshell
Server IP : 104.21.25.180  /  Your IP : 104.23.197.122
Web Server : Apache/2.4.37
System : Linux almalinux.duckdns.org 4.18.0-553.111.1.el8_10.x86_64 #1 SMP Sun Mar 8 20:06:07 EDT 2026 x86_64
User : ricodeal ( 1046)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/libexec/webmin/apache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/libexec/webmin/apache/mod_dav.pl
# mod_dav.pl
# Editors for DAV directives

sub mod_dav_directives
{
local $rv;
$rv = [ [ 'Dav', 0, 5, 'directory' ],
	[ 'DavDepthInfinity', 0, 5, 'virtual directory' ],
	[ 'DavMinTimeout', 0, 5, 'virtual directory' ],
      ];
return &make_directives($rv, $_[0], "mod_dav");
}

sub edit_Dav
{
local @extra;
push(@extra, "$_[0]->{'value'},$_[0]->{'value'}")
	if ($_[0]->{'value'} && $_[0]->{'value'} !~ /^(on|off)$/i);
return (1, $text{'mod_dav_active'},
	&choice_input($_[0]->{'value'}, "Dav", "",
	      "$text{'yes'},on", "$text{'no'},off", @extra, "$text{'default'},"));
}
sub save_Dav
{
return &parse_choice("Dav");
}

sub edit_DavDepthInfinity
{
return (1, $text{'mod_dav_inf'},
	&choice_input($_[0]->{'value'}, "DavDepthInfinity", "",
	      "$text{'yes'},on", "$text{'no'},off", "$text{'default'},"));
}
sub save_DavDepthInfinity
{
return &parse_choice("DavDepthInfinity");
}

sub edit_DavMinTimeout
{
return (1,
	$text{'mod_dav_timeout'},
	&opt_input($_[0]->{'value'}, "DavMinTimeout", $text{'default'}, 4));
}
sub save_DavMinTimeout
{
return &parse_opt("DavMinTimeout", '^\d+$',
		  $text{'mod_dav_etimeout'});
}

1;


Youez - 2016 - github.com/yon3zu
LinuXploit