Free Hosting Online for WorkStations

< Previous | Contents | Next >

4.2.1. Apache2


An example Apache configuration file comes with Mailman and is placed in /etc/mailman/apache.conf. In order for Apache to use the config file it needs to be copied to /etc/apache2/sites-available:


sudo cp /etc/mailman/apache.conf /etc/apache2/sites-available/mailman.conf


This will setup a new Apache VirtualHost for the Mailman administration site. Now enable the new configuration and restart Apache:


sudo a2ensite mailman.conf

sudo systemctl restart apache2.service


Mailman uses apache2 to render its CGI scripts. The mailman CGI scripts are installed in the /usr/lib/cgi-bin/ mailman directory. So, the mailman url will be http://hostname/cgi-bin/mailman/. You can make changes to the /etc/apache2/sites-available/mailman.conf file if you wish to change this behavior.


Top OS Cloud Computing at OnWorks: