|
|
@ -9,7 +9,7 @@ my $users = join(' ', @users); |
|
|
|
|
|
|
|
|
|
|
|
my $allow = ( $access eq 'public' ) ? 'all' : "$localAccess $externalSSLAccess"; |
|
|
|
my $allow = ( $access eq 'public' ) ? 'all' : "$localAccess $externalSSLAccess"; |
|
|
|
$alias = ($alias ne 'enabled') ? '' : 'Alias /phplist /usr/share/phplist/www/'; |
|
|
|
$alias = ($alias ne 'enabled') ? '' : 'Alias /phplist /usr/share/phplist/www/'; |
|
|
|
my $auth = ( $auth eq 'http' ) ? '' : 'AuthName "phplist"' . "\n" . |
|
|
|
$auth = ( $auth eq 'http' ) ? '' : 'AuthName "phplist"' . "\n" . |
|
|
|
" AuthType Basic\n" . |
|
|
|
" AuthType Basic\n" . |
|
|
|
" AuthExternal pwauth\n" . |
|
|
|
" AuthExternal pwauth\n" . |
|
|
|
" require user $users\n"; |
|
|
|
" require user $users\n"; |
|
|
|