I've jsut installed mailman, and think I've done everything right so far.
When I try to browse to the mailman site though it doesn't seem to work properly. I've found other similar questions in the archive, but none of those had any resolution.
When I browse to http://10.0.253.82/mailman/
I just get
Forbidden You don't have permission to access /mailman/ on this server.
Here's my httpd.conf
ScriptAlias /mailman/ "/usr/local/lib/mailman/cgi-bin/"
<Directory "/usr/local/lib/mailman/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory>
Ideas?
--Bryan
Bryan:
I had this problem myself - very recently. This was on a Solaris implementation of Mailman.
The values in question are: DEFAULT_EMAIL_HOST = 'hostname' DEFAULT_URL_HOST = 'hostname'
I had appended these values to the file: /usr/local/mailman/Mailman/mm_cfg.py
That didn't work, so I replaced the hostname with the fully qualified network name: 'hostname.domain.edu'
That didn't work either. So, then, I put these values into the file: /usr/local/mailman/Mailman/Defaults.py
And then everything worked correctly!
Joe
-----Original Message----- From: mailman-users-bounces+damico.1=osu.edu@python.org [mailto:mailman-users-bounces+damico.1=osu.edu@python.org] On Behalf Of Bryan Irvine Sent: Thursday, September 29, 2005 12:55 PM To: mailman-users@python.org Subject: [Mailman-Users] apache errors
I've jsut installed mailman, and think I've done everything right so far.
When I try to browse to the mailman site though it doesn't seem to work properly. I've found other similar questions in the archive, but none of those had any resolution.
When I browse to http://10.0.253.82/mailman/
I just get
Forbidden You don't have permission to access /mailman/ on this server.
Here's my httpd.conf
ScriptAlias /mailman/ "/usr/local/lib/mailman/cgi-bin/"
<Directory "/usr/local/lib/mailman/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory>
Ideas?
--Bryan
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/damico.1%40osu.edu
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
I had this problem myself - very recently. This was on a Solaris implementation of Mailman.
I'm on OpenBSD
The values in question are: DEFAULT_EMAIL_HOST = 'hostname' DEFAULT_URL_HOST = 'hostname'
I had appended these values to the file: /usr/local/mailman/Mailman/mm_cfg.py
That didn't work, so I replaced the hostname with the fully qualified network name: 'hostname.domain.edu'
That didn't work either. So, then, I put these values into the file: /usr/local/mailman/Mailman/Defaults.py
And then everything worked correctly!
This didn't do it either... :-/
--Bryan
On Thu, 2005-09-29 at 13:55 -0400, Joe Damico wrote:
Bryan:
I had this problem myself - very recently. This was on a Solaris implementation of Mailman.
The values in question are: DEFAULT_EMAIL_HOST = 'hostname' DEFAULT_URL_HOST = 'hostname'
I had appended these values to the file: /usr/local/mailman/Mailman/mm_cfg.py
That didn't work, so I replaced the hostname with the fully qualified network name: 'hostname.domain.edu'
That didn't work either. So, then, I put these values into the file: /usr/local/mailman/Mailman/Defaults.py
And then everything worked correctly!
Something is not right then. One should never edit Defaults.py. mm_cfg.py includes the contents of Defaults.py via this line:
from Defaults import *
Then in mm_cfg.py one overrides any settings previously imported from Defaults.
In addition, the HTTP Error 403 - Forbidden, is not generated by invalid host names or URL's. This error says the URL was located but the client does not have permission to access it, this is a http server configuration issue, not a mailman configuration issue.
I suspect the problem is the http configuration for the directory that was originally posted omitted the "Options ExecCGI" which is required to tell the http server it is permissible to execute cgi scripts in this directory.
Here is what I use, adjust the path to your installation:
ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ <Directory /usr/lib/mailman/cgi-bin/> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory>
-- John Dennis <jdennis@redhat.com>
On Thu, 2005-09-29 at 14:23 -0400, John Dennis wrote:
I suspect the problem is the http configuration for the directory that was originally posted omitted the "Options ExecCGI" which is required to tell the http server it is permissible to execute cgi scripts in this directory.
Oh, almost forgot, but any changes to httpd configuration require the httpd server to be restarted in order for it to see the change.
John Dennis <jdennis@redhat.com>
Here is what I use, adjust the path to your installation:
ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/ <Directory /usr/lib/mailman/cgi-bin/> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory>
Here's how it reads now after editing that file (and restarting apache).
ScriptAlias /mailman/ "/usr/local/lib/mailman/cgi-bin/" <Directory "/usr/local/lib/mailman/cgi-bin"> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory>
Hi,
You have to accesss http://10.0.253.82/mailman/listinfo.
Without the script name in the end of URI, Apache returns error because you set "Options None." "Options ExecCGI" should not be used here for ScriptAliases is already specified. "Options Indexes" is the configuration for directory view but it is not recommended for security reason.
http://httpd.apache.org/docs/2.0/mod/core.html#options
Bryan Irvine wrote:
I've jsut installed mailman, and think I've done everything right so far.
When I try to browse to the mailman site though it doesn't seem to work properly. I've found other similar questions in the archive, but none of those had any resolution.
When I browse to http://10.0.253.82/mailman/
I just get
Forbidden You don't have permission to access /mailman/ on this server.
Here's my httpd.conf
ScriptAlias /mailman/ "/usr/local/lib/mailman/cgi-bin/"
<Directory "/usr/local/lib/mailman/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory>
Ideas?
--Bryan
-- Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/
I had done several test installs, with real, and fake users (installed via OpenBSD ports), and when I'd remove an install, I'd manually remove /usr/local/lib/mailman, but never noticed /var/spool/mailman, which although reported it was owned by _mailman, it actually wasn't because the uid number (1001 or some such thing) was different than the current _mailman user (1006 or something).
So in essence, *I* broke it. :-)
It works now. ezmlm you are history! ;)
--Bryan
participants (4)
-
Bryan Irvine
-
Joe Damico
-
John Dennis
-
Tokio Kikuchi