Amministrare e gestire mailing list con Mailman: differenze tra le versioni

Riga 33: Riga 33:
e aggiungiamo questa configurazione (NOTA: è già presente un Virtual Host. Non va utilizzato, poichè la configurazione che useremo è differente)
e aggiungiamo questa configurazione (NOTA: è già presente un Virtual Host. Non va utilizzato, poichè la configurazione che useremo è differente)
<pre>
<pre>
[...]
# Configurazione di Mailman per Apache
#######################################


<VirtualHost *:80>
<VirtualHost *:80>
ServerName lists.example.com
        ServerName lists.example.com
DocumentRoot /var/www/lists
        DocumentRoot /var/www/lists
ErrorLog /var/log/apache2/lists-error.log
        ErrorLog /var/log/apache2/lists-error.log
CustomLog /var/log/apache2/lists-access.log combined
        CustomLog /var/log/apache2/lists-access.log combined


<Directory /var/lib/mailman/archives/>
        <Directory /usr/lib/cgi-bin/mailman/>
    Options FollowSymLinks
            AllowOverride None
    AllowOverride None
            Options ExecCGI
</Directory>
            AddHandler cgi-script .cgi
            Order allow,deny
            Allow from all
        </Directory>


Alias /pipermail/ /var/lib/mailman/archives/public/
        <Directory /var/lib/mailman/archives/public/>
Alias /images/mailman/ /usr/share/images/mailman/
            Options FollowSymlinks
ScriptAlias /admin /usr/lib/cgi-bin/mailman/admin
            AllowOverride None
ScriptAlias /admindb /usr/lib/cgi-bin/mailman/admindb
            Order allow,deny
ScriptAlias /confirm /usr/lib/cgi-bin/mailman/confirm
            Allow from all
ScriptAlias /create /usr/lib/cgi-bin/mailman/create
        </Directory>
ScriptAlias /edithtml /usr/lib/cgi-bin/mailman/edithtml
 
ScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfo
        <Directory /usr/share/images/mailman/>
ScriptAlias /options /usr/lib/cgi-bin/mailman/options
            AllowOverride None
ScriptAlias /private /usr/lib/cgi-bin/mailman/private
            Order allow,deny
ScriptAlias /rmlist /usr/lib/cgi-bin/mailman/rmlist
            Allow from all
ScriptAlias /roster /usr/lib/cgi-bin/mailman/roster
        </Directory>
ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe
 
ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
        <Directory /var/lib/mailman/archives/>
ScriptAlias / /usr/lib/cgi-bin/mailman/listinfo
            Options FollowSymLinks
            AllowOverride None
        </Directory>
 
        Alias /pipermail/ /var/lib/mailman/archives/public/
        Alias /images/mailman/ /usr/share/images/mailman/
 
        ScriptAlias /cgi-bin/mailman/ /usr/lib/cgi-bin/mailman/
 
        ScriptAlias /admin /usr/lib/cgi-bin/mailman/admin
        ScriptAlias /admindb /usr/lib/cgi-bin/mailman/admindb
        ScriptAlias /confirm /usr/lib/cgi-bin/mailman/confirm
        ScriptAlias /create /usr/lib/cgi-bin/mailman/create
        ScriptAlias /edithtml /usr/lib/cgi-bin/mailman/edithtml
        ScriptAlias /listinfo /usr/lib/cgi-bin/mailman/listinfo
        ScriptAlias /options /usr/lib/cgi-bin/mailman/options
        ScriptAlias /private /usr/lib/cgi-bin/mailman/private
        ScriptAlias /rmlist /usr/lib/cgi-bin/mailman/rmlist
        ScriptAlias /roster /usr/lib/cgi-bin/mailman/roster
        ScriptAlias /subscribe /usr/lib/cgi-bin/mailman/subscribe
        ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
        ScriptAlias / /usr/lib/cgi-bin/mailman/listinfo
</VirtualHost>
</VirtualHost>
</pre>
</pre>