|
|
|
@ -10,6 +10,8 @@ if (($ajaxplorer{'status'} || 'disabled') eq 'enabled'){ |
|
|
|
|
" AuthExternal pwauth\n" . |
|
|
|
|
" Require valid-user\n" : ''; |
|
|
|
|
my $maxsize = $ajaxplorer{'MaxUploadSize'} || '200M'; |
|
|
|
|
my $homedir = $ajaxplorer{'HomeDir'} || 'none'; |
|
|
|
|
$homedir = (($homedir eq 'enabled') || ($homedir eq 'users')) ? ":/home/e-smith/files/users":""; |
|
|
|
|
|
|
|
|
|
my $shares = ''; |
|
|
|
|
|
|
|
|
@ -20,7 +22,7 @@ Alias /ajxppub /var/lib/ajaxplorer/public |
|
|
|
|
<Directory /var/lib/ajaxplorer/public> |
|
|
|
|
Options None |
|
|
|
|
AddType application/x-httpd-php .php |
|
|
|
|
php_admin_value open_basedir /usr/share/ajaxplorer:/var/lib/ajaxplorer:/var/log/ajaxplorer:/etc/ajaxplorer:/var/cache/ajaxplorer:/usr/share/pear/:/home/e-smith/files/shares |
|
|
|
|
php_admin_value open_basedir /usr/share/ajaxplorer:/var/lib/ajaxplorer:/var/log/ajaxplorer:/etc/ajaxplorer:/var/cache/ajaxplorer:/usr/share/pear/:/home/e-smith/files/shares$homedir |
|
|
|
|
Order deny,allow |
|
|
|
|
Allow from all |
|
|
|
|
<Files ".ajxp_*"> |
|
|
|
@ -36,7 +38,7 @@ $alias |
|
|
|
|
|
|
|
|
|
<Directory /usr/share/ajaxplorer> |
|
|
|
|
AddType application/x-httpd-php .php |
|
|
|
|
php_admin_value open_basedir /usr/share/ajaxplorer:/var/lib/ajaxplorer:/var/log/ajaxplorer:/etc/ajaxplorer:/var/cache/ajaxplorer:/usr/share/pear/:/home/e-smith/files/shares |
|
|
|
|
php_admin_value open_basedir /usr/share/ajaxplorer:/var/lib/ajaxplorer:/var/log/ajaxplorer:/etc/ajaxplorer:/var/cache/ajaxplorer:/usr/share/pear/:/home/e-smith/files/shares$homedir |
|
|
|
|
php_admin_value memory_limit 100M |
|
|
|
|
php_admin_value upload_max_filesize $maxsize |
|
|
|
|
php_admin_value post_max_size $maxsize |
|
|
|
|