X7ROOT File Manager
Current Path:
/usr/libexec/usermin/htaccess
usr
/
libexec
/
usermin
/
htaccess
/
📁
..
📄
apache-lib.pl
(57.96 KB)
📄
auth-lib.pl
(3.09 KB)
📄
autoindex.pl
(9.54 KB)
📄
browsermatch.pl
(2.15 KB)
📄
cache.pl
(3 KB)
📄
change_files.cgi
(976 B)
📄
config
(52 B)
📄
config.info
(148 B)
📄
config.info.ca
(179 B)
📄
config.info.de
(166 B)
📄
config.info.nl
(148 B)
📄
config.info.no
(153 B)
📄
core.pl
(40.41 KB)
📄
create.cgi
(463 B)
📄
create_files.cgi
(586 B)
📄
defaultuconfig
(34 B)
📄
delete_htaccess.cgi
(248 B)
📄
edit_authgroup.cgi
(1.44 KB)
📄
edit_authuser.cgi
(1.68 KB)
📄
edit_files.cgi
(911 B)
📄
edit_htaccess.cgi
(820 B)
📄
files_index.cgi
(1.93 KB)
📄
find.cgi
(739 B)
📄
htaccess-lib.pl
(644 B)
📄
htaccess_index.cgi
(2.58 KB)
📁
images
📄
index.cgi
(1.32 KB)
📁
lang
📄
list_authgroups.cgi
(1.27 KB)
📄
list_authusers.cgi
(1.1 KB)
📄
manual_form.cgi
(1.71 KB)
📄
manual_save.cgi
(945 B)
📄
mod_access.pl
(3.18 KB)
📄
mod_actions.pl
(2.57 KB)
📄
mod_alias.pl
(5.7 KB)
📄
mod_apachessl.pl
(13.47 KB)
📄
mod_asis.pl
(125 B)
📄
mod_auth.pl
(1.88 KB)
📄
mod_auth_basic.pl
(983 B)
📄
mod_auth_dbm.pl
(1.79 KB)
📄
mod_auth_digest.pl
(1.56 KB)
📄
mod_authn_dbm.pl
(1.02 KB)
📄
mod_authn_file.pl
(838 B)
📄
mod_authz_dbm.pl
(1.38 KB)
📄
mod_authz_groupfile.pl
(863 B)
📄
mod_authz_host.pl
(314 B)
📄
mod_authz_owner.pl
(139 B)
📄
mod_autoindex.pl
(2.15 KB)
📄
mod_bandwidth.pl
(3.86 KB)
📄
mod_browser.pl
(274 B)
📄
mod_cache.pl
(2.73 KB)
📄
mod_cern_meta.pl
(1.13 KB)
📄
mod_cgi.pl
(1.26 KB)
📄
mod_dav.pl
(1.1 KB)
📄
mod_dir.pl
(1.06 KB)
📄
mod_disk_cache.pl
(1.03 KB)
📄
mod_env.pl
(2.03 KB)
📄
mod_ext_filter.pl
(2.63 KB)
📄
mod_imap.pl
(2.35 KB)
📄
mod_include.pl
(601 B)
📄
mod_info.pl
(145 B)
📄
mod_log_agent.pl
(1.08 KB)
📄
mod_log_common.pl
(1.14 KB)
📄
mod_log_config.pl
(4.49 KB)
📄
mod_log_referer.pl
(1.59 KB)
📄
mod_mem_cache.pl
(1.1 KB)
📄
mod_mime.pl
(6.16 KB)
📄
mod_mime_magic.pl
(521 B)
📄
mod_negotiation.pl
(1.25 KB)
📄
mod_perl.pl
(147 B)
📄
mod_php.pl
(93 B)
📄
mod_php3.pl
(147 B)
📄
mod_php4.pl
(2.89 KB)
📄
mod_php5.pl
(2.82 KB)
📄
mod_proxy.pl
(8.42 KB)
📄
mod_setenvif.pl
(3.04 KB)
📄
mod_speling.pl
(565 B)
📄
mod_ssl.pl
(6.22 KB)
📄
mod_status.pl
(542 B)
📄
mod_suexec.pl
(1.24 KB)
📄
mod_userdir.pl
(2.58 KB)
📄
mod_vhost_alias.pl
(2.33 KB)
📄
module.info
(182 B)
📄
module.info.af
(0 B)
📄
module.info.af.auto
(140 B)
📄
module.info.ar
(0 B)
📄
module.info.ar.auto
(215 B)
📄
module.info.be
(0 B)
📄
module.info.be.auto
(211 B)
📄
module.info.bg
(0 B)
📄
module.info.bg.auto
(245 B)
📄
module.info.ca
(35 B)
📄
module.info.ca.auto
(130 B)
📄
module.info.cs
(33 B)
📄
module.info.cs.auto
(124 B)
📄
module.info.da
(0 B)
📄
module.info.da.auto
(155 B)
📄
module.info.de
(33 B)
📄
module.info.de.auto
(132 B)
📄
module.info.el
(0 B)
📄
module.info.el.auto
(252 B)
📄
module.info.es
(0 B)
📄
module.info.es.auto
(159 B)
📄
module.info.eu
(0 B)
📄
module.info.eu.auto
(157 B)
📄
module.info.fa
(0 B)
📄
module.info.fa.auto
(223 B)
📄
module.info.fi
(0 B)
📄
module.info.fi.auto
(180 B)
📄
module.info.fr
(0 B)
📄
module.info.fr.auto
(161 B)
📄
module.info.he
(0 B)
📄
module.info.he.auto
(187 B)
📄
module.info.hr
(0 B)
📄
module.info.hr.auto
(147 B)
📄
module.info.hu
(41 B)
📄
module.info.hu.auto
(125 B)
📄
module.info.it
(0 B)
📄
module.info.it.auto
(155 B)
📄
module.info.ja
(0 B)
📄
module.info.ja.auto
(199 B)
📄
module.info.ko
(0 B)
📄
module.info.ko.auto
(170 B)
📄
module.info.lt
(0 B)
📄
module.info.lt.auto
(172 B)
📄
module.info.lv
(0 B)
📄
module.info.lv.auto
(148 B)
📄
module.info.ms
(0 B)
📄
module.info.ms.auto
(148 B)
📄
module.info.mt
(0 B)
📄
module.info.mt.auto
(157 B)
📄
module.info.nl
(28 B)
📄
module.info.nl.auto
(119 B)
📄
module.info.no
(34 B)
📄
module.info.no.auto
(124 B)
📄
module.info.pl
(32 B)
📄
module.info.pl.auto
(119 B)
📄
module.info.pt
(0 B)
📄
module.info.pt.auto
(160 B)
📄
module.info.pt_BR
(0 B)
📄
module.info.pt_BR.auto
(169 B)
📄
module.info.ro
(0 B)
📄
module.info.ro.auto
(153 B)
📄
module.info.ru
(0 B)
📄
module.info.ru.auto
(218 B)
📄
module.info.sk
(0 B)
📄
module.info.sk.auto
(159 B)
📄
module.info.sl
(0 B)
📄
module.info.sl.auto
(145 B)
📄
module.info.sv
(0 B)
📄
module.info.sv.auto
(144 B)
📄
module.info.th
(0 B)
📄
module.info.th.auto
(261 B)
📄
module.info.tr
(0 B)
📄
module.info.tr.auto
(163 B)
📄
module.info.uk
(0 B)
📄
module.info.uk.auto
(232 B)
📄
module.info.ur
(0 B)
📄
module.info.ur.auto
(250 B)
📄
module.info.vi
(0 B)
📄
module.info.vi.auto
(182 B)
📄
module.info.zh
(0 B)
📄
module.info.zh.auto
(130 B)
📄
module.info.zh_TW
(0 B)
📄
module.info.zh_TW.auto
(138 B)
📄
mpm_netware.pl
(1.26 KB)
📄
mpm_winnt.pl
(801 B)
📄
perchild.pl
(4.05 KB)
📄
prefork.pl
(796 B)
📄
save_authgroup.cgi
(1.01 KB)
📄
save_authuser.cgi
(1.09 KB)
📄
save_files.cgi
(441 B)
📄
save_htaccess.cgi
(383 B)
📄
show.cgi
(2.97 KB)
📄
uconfig.info
(82 B)
📄
uconfig.info.ca
(96 B)
📄
uconfig.info.de
(92 B)
📄
uconfig.info.nl
(89 B)
📄
uconfig.info.no
(76 B)
📄
uconfig.info.pl
(100 B)
📁
ulang
📄
worker.pl
(1.57 KB)
Editing: mod_setenvif.pl
# mod_setenvif.pl # Defines editors for directives to set environment variables sub mod_setenvif_directives { local($rv); $rv = [ [ 'BrowserMatch BrowserMatchNoCase', 1, 11, 'global', '-1.313' ], [ 'BrowserMatch BrowserMatchNoCase', 1, 11, 'virtual directory htaccess', 1.313 ], [ 'SetEnvIf SetEnvIfNoCase', 1, 11, 'global', '1.3-1.313' ], [ 'SetEnvIf SetEnvIfNoCase', 1, 11, 'virtual directory htaccess', 1.313 ] ]; return &make_directives($rv, $_[0], "mod_setenvif"); } require 'browsermatch.pl'; sub edit_SetEnvIf_SetEnvIfNoCase { local($d, @w, $i, @head, @regex, @var, @val, @case, $rv); foreach $d (@{$_[0]}, @{$_[1]}) { @w = @{$d->{'words'}}; for($i=2; $i<@w; $i++) { push(@head, $w[0]); push(@regex, $w[1]); if ($w[$i] =~ /^\!(\S+)$/) { push(@var, $1); push(@val, undef); } elsif ($w[$i] =~ /^(\S+)=(\S*)$/) { push(@var, $1); push(@val, $2); } else { push(@var, $w[$i]); push(@val, 1); } if ($d->{'name'} eq "SetEnvIf") { push(@case, 1); } else { push(@case, 0); } } } push(@head, ""); push(@regex, ""); push(@var, ""); push(@val, ""); push(@case, 0); $rv = "<table border>\n". "<tr $tb> <td><b>$text{'mod_setenvif_header'}</b></td> <td><b>$text{'mod_setenvif_match'}</b></td>\n". "<td><b>$text{'mod_setenvif_case'}</b></td> <td><b>$text{'mod_setenvif_var'}</b></td>\n". "<td><b>$text{'mod_setenvif_value'}</b></td> </tr>\n"; for($i=0; $i<@head; $i++) { $rv .= "<tr $cb>\n"; $rv .= sprintf "<td><input size=15 name=SetEnvIf_head_$i value=\"%s\"></td>\n", $head[$i]; $rv .= sprintf "<td><input size=10 name=SetEnvIf_regex_$i value=\"%s\"></td>\n", $regex[$i]; $rv .= "<td>".&choice_input($case[$i], "SetEnvIf_case_$i", 1, "$text{'yes'},1", "$text{'no'},0")."</td>\n"; $rv .= sprintf "<td><input size=20 name=SetEnvIf_var_$i value=\"%s\"></td>\n", $var[$i]; $rv .= "<td>".&opt_input($val[$i], "SetEnvIf_val_$i", "$text{'mod_setenvif_clear'}", 10)."</td>\n"; $rv .= "</tr>\n"; } $rv .= "</table>\n"; return (2, "$text{'mod_setenvif_txt'}", $rv); } sub save_SetEnvIf_SetEnvIfNoCase { local($i, $head, $regex, $case, $var, $val, $set, $lastsi, $lastsnc, @si, @sinc); for($i=0; defined($head = $in{"SetEnvIf_head_$i"}); $i++) { $regex = $in{"SetEnvIf_regex_$i"}; $case = $in{"SetEnvIf_case_$i"}; $var = $in{"SetEnvIf_var_$i"}; $val = $in{"SetEnvIf_val_${i}_def"} ? undef : $in{"SetEnvIf_val_$i"}; if ($head !~ /\S/ && $regex !~ /\S/ && $var !~ /\S/) { next; } $head =~ /^\S+$/ || &error(&text('mod_setenvif_eheader', $head)); $regex =~ /^\S+$/ || &error(&text('mod_setenvif_eregex', $regex)); $var =~ /^\S+$/ || &error(&text('mod_setenvif_evar', $var)); $set = !defined($val) ? "!$var" : $val eq "1" ? $var : "$var=$val"; if ($case) { if ("$head $regex" eq $lastsi) { $si[$#si] .= " $set"; } else { push(@si, "$head $regex $set"); } $lastsi = "$head $regex"; } else { if ("$head $regex" eq $lastsinc) { $sinc[$#sinc] .= " $set"; } else { push(@sinc, "$head $regex $set"); } $lastsinc = "$head $regex"; } } return ( \@si, \@sinc ); } 1;
Upload File
Create Folder