Server IP : 195.201.23.43 / Your IP : 18.217.252.137 Web Server : Apache System : Linux webserver2.vercom.be 5.4.0-192-generic #212-Ubuntu SMP Fri Jul 5 09:47:39 UTC 2024 x86_64 User : kdecoratie ( 1041) PHP Version : 7.1.33-63+ubuntu20.04.1+deb.sury.org+1 Disable Function : 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, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/usermin/htaccess/ |
Upload File : |
# mod_dir.pl # Defines editors for mod_dir directives sub mod_dir_directives { local($rv, $all); $all = 'virtual directory htaccess'; $rv = [ [ 'DirectoryIndex', 0, 12, 'virtual directory htaccess', undef, 8 ], [ 'AddIcon AddIconByType AddIconByEncoding', 1, 12, $all, -1.3, 1 ], [ 'DefaultIcon', 0, 12, $all, -1.3, 4 ], [ 'AddAlt AddAltByType AddAltByEncoding', 1, 12, $all, -1.3 ], [ 'AddDescription', 1, 12, $all, -1.3 ], [ 'IndexOptions FancyIndexing', 0, 12, $all, -1.3, 10 ], [ 'HeaderName', 0, 12, $all, -1.3, 3 ], [ 'ReadmeName', 0, 12, $all, -1.3, 2 ], [ 'IndexIgnore', 1, 12, $all, -1.3, 6 ] ]; return &make_directives($rv, $_[0], "mod_dir"); } sub edit_DirectoryIndex { local($rv); $rv = sprintf "<textarea name=DirectoryIndex rows=5 cols=20>%s</textarea>\n", join("\n", split(/\s+/, $_[0]->{'value'})); return (1, "$text{'mod_dir_txt'}", $rv); } sub save_DirectoryIndex { local(@di); @di = split(/\s+/, $in{'DirectoryIndex'}); return @di ? ( [ join(' ', @di) ] ) : ( [ ] ); } require 'autoindex.pl'; 1;Private