Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- thufir@dur:~$
- thufir@dur:~$ ll /etc/apache2/sites-enabled/mailman
- lrwxrwxrwx 1 root root 24 Dec 30 20:06 /etc/apache2/sites-enabled/mailman -> /etc/mailman/apache.conf
- thufir@dur:~$
- thufir@dur:~$
- thufir@dur:~$ cat /etc/apache2/sites-enabled/mailman
- # Sample configuration for Debian mailman with Apache
- # We can find mailman here:
- ScriptAlias /cgi-bin/mailman/ /usr/lib/cgi-bin/mailman/
- # And the public archives:
- Alias /pipermail/ /var/lib/mailman/archives/public/
- # Logos:
- Alias /images/mailman/ /usr/share/images/mailman/
- # Use this if you don't want the "cgi-bin" component in your URL:
- # In case you want to access mailman through a shorter URL you should enable
- # this:
- #ScriptAlias /mailman/ /usr/lib/cgi-bin/mailman/
- # In this case you need to set the DEFAULT_URL_PATTERN in
- # /etc/mailman/mm_cfg.py to http://%s/mailman/ for the cookie
- # authentication code to work. Note that you need to change the base
- # URL for all the already-created lists as well.
- <Directory /usr/lib/cgi-bin/mailman/>
- AllowOverride None
- Options ExecCGI
- AddHandler cgi-script .cgi
- Order allow,deny
- Allow from all
- </Directory>
- <Directory /var/lib/mailman/archives/public/>
- Options FollowSymlinks
- AllowOverride None
- Order allow,deny
- Allow from all
- </Directory>
- <Directory /usr/share/images/mailman/>
- AllowOverride None
- Order allow,deny
- Allow from all
- </Directory>
- ## The following describes how to configure mailman on
- ## a dedicated virtual host, courtesy Marco d'Itri.
- # Add these lines in /etc/mailman/mm_cfg.py:
- #DEFAULT_EMAIL_HOST = 'lists.example.net'
- #DEFAULT_URL_HOST = 'lists.example.net'
- #DEFAULT_URL_PATTERN = 'http://%s/'
- #<VirtualHost *>
- #ServerName lists.example.net
- #DocumentRoot /var/www/lists
- #ErrorLog /var/log/apache2/lists-error.log
- #CustomLog /var/log/apache2/lists-access.log combined
- #
- #<Directory /var/lib/mailman/archives/>
- # Options FollowSymLinks
- # AllowOverride None
- #</Directory>
- #
- #Alias /pipermail/ /var/lib/mailman/archives/public/
- #Alias /images/mailman/ /usr/share/images/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/
- #</VirtualHost>
- thufir@dur:~$
- thufir@dur:~$
- error:
- thufir@dur:~$
- thufir@dur:~$
- thufir@dur:~$ tail /var/log/apache2/error.log
- [Mon Dec 30 19:49:17.033855 2013] [core:notice] [pid 26854:tid 3074234944] AH00094: Command line: '/usr/sbin/apache2'
- [Mon Dec 30 19:51:27.976149 2013] [mpm_event:notice] [pid 26854:tid 3074234944] AH00491: caught SIGTERM, shutting down
- [Mon Dec 30 19:51:29.128646 2013] [mpm_event:notice] [pid 27016:tid 3074742848] AH00489: Apache/2.4.6 (Ubuntu) configured -- resuming normal operations
- [Mon Dec 30 19:51:29.128936 2013] [core:notice] [pid 27016:tid 3074742848] AH00094: Command line: '/usr/sbin/apache2'
- [Mon Dec 30 22:03:10.355200 2013] [mpm_event:notice] [pid 27016:tid 3074742848] AH00491: caught SIGTERM, shutting down
- [Tue Dec 31 07:27:30.154998 2013] [mpm_event:notice] [pid 1460:tid 3074062912] AH00489: Apache/2.4.6 (Ubuntu) configured -- resuming normal operations
- [Tue Dec 31 07:27:30.197942 2013] [core:notice] [pid 1460:tid 3074062912] AH00094: Command line: '/usr/sbin/apache2'
- [Wed Jan 01 02:30:57.181239 2014] [mpm_event:notice] [pid 1460:tid 3074062912] AH00491: caught SIGTERM, shutting down
- [Wed Jan 01 08:50:15.488528 2014] [mpm_event:notice] [pid 1422:tid 3074406976] AH00489: Apache/2.4.6 (Ubuntu) configured -- resuming normal operations
- [Wed Jan 01 08:50:15.516647 2014] [core:notice] [pid 1422:tid 3074406976] AH00094: Command line: '/usr/sbin/apache2'
- thufir@dur:~$
- thufir@dur:~$
Advertisement
Add Comment
Please, Sign In to add comment