%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,mail,shell_exec,system,proc_open,popen,ini_alter,dl,proc_close,curl_exec,curl_multi_exec,readfile,parse_ini_file,escapeshellarg,escapeshellcmd,show_source,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,mail,php_uname,phpinfo MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/apache/ |
Upload File : |
# cache.pl # Functions used by both mod_proxy.pl and the new apache caching modules sub edit_CacheRoot { return (1, $text{'mod_proxy_dir'}, &opt_input($_[0]->{'value'}, "CacheRoot", $text{'mod_proxy_none'}, 20). &file_chooser_button("CacheRoot", 0)); } sub save_CacheRoot { $in{'CacheRoot_def'} || &allowed_auth_file($in{'CacheRoot'}) || &error($text{'mod_proxy_eunder'}); return &parse_opt("CacheRoot", '^\S+$', $text{'mod_proxy_edir'}); } sub edit_CacheSize { return (1, $text{'mod_proxy_size'}, &opt_input($_[0]->{'value'}, "CacheSize", $text{'mod_proxy_default'}, 8)." kB"); } sub save_CacheSize { return &parse_opt("CacheSize", '^\d+$', $text{'mod_proxy_esize'}); } sub edit_CacheGcInterval { return (1, $text{'mod_proxy_garbage'}, &opt_input($_[0]->{'value'}, "CacheGcInterval", $text{'mod_proxy_nogc'}, 6). $text{'mod_proxy_hours'}); } sub save_CacheGcInterval { return &parse_opt("CacheGcInterval", '^\d+$', $text{'mod_proxy_egarbage'}); } sub edit_CacheMaxExpire { return (1, $text{'mod_proxy_maxexp'}, &opt_input($_[0]->{'value'}, "CacheMaxExpire", $text{'mod_proxy_default'}, 6). $text{'mod_proxy_seconds'}); } sub save_CacheMaxExpire { return &parse_opt("CacheMaxExpire", '^\d+$', $text{'mod_proxy_emaxexp'}); } sub edit_CacheLastModifiedFactor { return (1, $text{'mod_proxy_expfac'}, &opt_input($_[0]->{'value'}, "CacheLastModifiedFactor", $text{'mod_proxy_default'}, 6)); } sub save_CacheLastModifiedFactor { return &parse_opt("CacheLastModifiedFactor", '^\d+$', $text{'mod_proxy_eexpfac'}); } sub edit_CacheDirLevels { return (1, $text{'mod_proxy_levels'}, &opt_input($_[0]->{'value'}, "CacheDirLevels", $text{'mod_proxy_default'}, 6)); } sub save_CacheDirLevels { return &parse_opt("CacheDirLevels", '^\d+$', $text{'mod_proxy_elevels'}); } sub edit_CacheDirLength { return (1, $text{'mod_proxy_length'}, &opt_input($_[0]->{'value'}, "CacheDirLength", $text{'mod_proxy_default'}, 4)); } sub save_CacheDirLength { return &parse_opt("CacheDirLength", '^\d+$', $text{'mod_proxy_elength'}); } sub edit_CacheDefaultExpire { return (1, $text{'mod_proxy_defexp'}, &opt_input($_[0]->{'value'}, "CacheDefaultExpire", $text{'mod_proxy_default'}, 6). $text{'mod_proxy_seconds'}); } sub save_CacheDefaultExpire { return &parse_opt("CacheDefaultExpire", '^\d+$', $text{'mod_proxy_edefexp'}); } sub edit_CacheForceCompletion { return (1, $text{'mod_proxy_finish'}, &opt_input($_[0]->{'value'}, "CacheForceCompletion", $text{'mod_proxy_default'}, 6)."%"); } sub save_CacheForceCompletion { return &parse_opt("CacheForceCompletion", '^\d+$', $text{'mod_proxy_efinish'}); } sub edit_NoCache { local($n, @n); foreach $n (@{$_[0]}) { push(@n, $n->{'value'}); } return (1, $text{'mod_proxy_nocache'}, &opt_input(@n ? join(' ', @n) : undef, "NoCache", $text{'mod_proxy_none2'}, 20)); } sub save_NoCache { return &parse_opt("NoCache", '\S', $text{'mod_proxy_enocache'}); } 1;