Re: [Mailman-Users] apache errors

2005-09-29 Thread Bryan Irvine
 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
--
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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] apache errors

2005-09-29 Thread John Dennis
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 [EMAIL PROTECTED]

--
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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] apache errors

2005-09-29 Thread John Dennis
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 [EMAIL PROTECTED]

--
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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] apache errors

2005-09-29 Thread Bryan Irvine
 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
--
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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] apache errors

2005-09-29 Thread Tokio Kikuchi
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/

--
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/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp