[Mailman-Users] apache errors

2005-09-29 Thread Bryan Irvine
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/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
 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


[Mailman-Users] Apache errors causing user-management problems

2002-08-15 Thread Stephen R Laniel

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I've recently had some Apache problems, which started when I encountered
this bug:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=155939repeatmerged=yes

I used the hack that they mentioned at the bottom of that bug, then
upgraded to the latest unstable build of Apache when it came out. This
fixed Apache, which I can now use to load my Website
(http://www.laniels.org/ , if you want to confirm it).

At least one problem is left: I'm having troubles now subscribing new
members to my lists. When I try to do that, I get the mailman message
that we've hit a bug; when I look in the error log, the following looks
like the relevant error:

admin(5271): [- Mailman Version: 2.0.12 -]
admin(5271): [- Traceback --]
admin(5271): Traceback (most recent call last):
admin(5271):   File /var/lib/mailman/scripts/driver, line 98, in run_main
admin(5271): main()
admin(5271):   File /usr/lib/mailman/Mailman/Cgi/admin.py, line 154, in main
admin(5271): ChangeOptions(mlist, category, cgidata, doc)
admin(5271):   File /usr/lib/mailman/Mailman/Cgi/admin.py, line 899,
in ChangeOptions
admin(5271): digest, send_welcome_msg)
admin(5271):   File /usr/lib/mailman/Mailman/MailList.py, line 1097,
in ApprovedAddMembers
admin(5271): Utils.ValidateEmail(name)
admin(5271):   File /usr/lib/mailman/Mailman/Utils.py, line 160, in
ValidateEmail
admin(5271): realname,str = rfc822.parseaddress(str)
admin(5271): AttributeError: 'rfc822' module has no attribute
'parseaddress'


I think the problem is that somewhere along the line, I downgraded
libc6 back to an earlier version to fix my Apache problems, and apt
*removed* some of my packages; I must have keyed too quickly through
apt-get when it did this. I think it probably removed some package
that's important to mailman.

I tried reinstalling mailman (apt-get install --reinstall mailman), and
apt did as I said. I still get the same problems, though; I still can't
subscribe new members. Any idea what might be the problem? It looks like
the rfc822 module got downgraded, or removed, or something. But a quick
scan through apt-cache doesn't show any package where rfc822 and
python appear together. Might this be the problem?

Thanks,
Steve

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9W8oF+5AbbCEHPXwRAnGVAKCcInpDNu/f/uCGHI2U2O9d4WmrPwCg9xXK
aHSPxp1D1UhNnhj6FHsdqD8=
=E+yu
-END PGP SIGNATURE-

--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/