From 1870509195ec51320be74d54d39d1de605ff450b Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 4 Aug 2014 11:50:26 +0200 Subject: [PATCH] Make /lists an alias for /usr/share/phplist/www This /lists suffix seems to be hardcoded in several places --- root/etc/e-smith/events/actions/ipasserelle-lists-init-domain | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/root/etc/e-smith/events/actions/ipasserelle-lists-init-domain b/root/etc/e-smith/events/actions/ipasserelle-lists-init-domain index 8b7cd98..03c6175 100644 --- a/root/etc/e-smith/events/actions/ipasserelle-lists-init-domain +++ b/root/etc/e-smith/events/actions/ipasserelle-lists-init-domain @@ -57,7 +57,8 @@ if (!$vhost){ TemplatePath => 'WebAppVirtualHost', DocumentRoot => '/usr/share/phplist/www', Removable => 'yes', - Authentication => 'LemonLDAP' + Authentication => 'LemonLDAP', + Alias => '/lists=/usr/share/phplist/www' }); unless ( system("/sbin/e-smith/signal-event", "domain-create", "news.$domain") == 0 ){