[Mailman-Users] Virtual Hosts & Listinfo Overview problem

Rob pennguin at mac.com
Thu Sep 11 02:39:54 CEST 2008


Running 2.1.9 under Mac OS X 10.5.4, Apache 2.2.

I recently set up virtual hosts using the following settings in  
mm_cfg.py:

MTA = 'Postfix'
DEFAULT_EMAIL_HOST = 'acvr.org'
DEFAULT_URL_HOST = 'www.acvr.org'
VIRTUAL_HOSTS=('www.acvr.org','xserve.petrad.com')
VIRTUAL_HOST_OVERVIEW='OFF'
DEFAULT_URL_PATTERN = 'https://%s/mailman/'
PUBLIC_ARCHIVE_URL = 'https://%(hostname)s/pipermail/%(listname)s'

Lists work fine, and I can access all of the individual list  
configuration pages. But if I try to access https://www.acvr.org/mailman/listinfo 
  then I get the following error:

Bug in Mailman version 2.1.9

We're sorry, we hit a bug!
Please inform the webmaster for this site of this problem. Printing of  
traceback and other system information has been explicitly inhibited,  
but the webmaster can find this information in the Mailman error logs.



And the following information pops up in my Mailman error log...


admin(18986): [----- Mailman Version: 2.1.9 -----]
admin(18986): [----- Traceback ------]
admin(18986): Traceback (most recent call last):
admin(18986):   File "/usr/share/mailman/scripts/driver", line 101, in  
run_main
admin(18986):     main()
admin(18986):   File "/usr/share/mailman/Mailman/Cgi/listinfo.py",  
line 42, in main
admin(18986):     listinfo_overview()
admin(18986):   File "/usr/share/mailman/Mailman/Cgi/listinfo.py",  
line 117, in listinfo_overview
admin(18986):     siteowner = Utils.get_site_email()
admin(18986):   File "/usr/share/mailman/Mailman/Utils.py", line 701,  
in get_site_email
admin(18986):     hostname = mm_cfg.VIRTUAL_HOSTS.get(get_domain(),  
get_domain())
admin(18986): AttributeError: 'tuple' object has no attribute 'get'
admin(18986): [----- Python Information -----]
admin(18986): sys.version     =   2.5.1 (r251:54863, Apr 15 2008,  
22:57:26)
[GCC 4.0.1 (Apple Inc. build 5465)]
admin(18986): sys.executable  =   /System/Library/Frameworks/ 
Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python
admin(18986): sys.prefix      =   /System/Library/Frameworks/ 
Python.framework/Versions/2.5
admin(18986): sys.exec_prefix =   /System/Library/Frameworks/ 
Python.framework/Versions/2.5
admin(18986): sys.path        =   /System/Library/Frameworks/ 
Python.framework/Versions/2.5
admin(18986): sys.platform    =   darwin
admin(18986): [----- Environment Variables -----]
admin(18986): 	SERVER_SOFTWARE: Apache/2.2.8 (Unix) DAV/2 mod_ssl/ 
2.2.8 OpenSSL/0.9.7l mod_scgi_pubsub/1.11-pubsub mod_jk/1.2.23 PHP/ 
5.2.4 mod_perl/2.0.2 Perl/v5.8.8
admin(18986): 	SCRIPT_NAME: /mailman/listinfo
admin(18986): 	SERVER_SIGNATURE: <address>Apache/2.2.8 (Unix) DAV/2  
mod_ssl/2.2.8 OpenSSL/0.9.7l mod_scgi_pubsub/1.11-pubsub mod_jk/1.2.23  
PHP/5.2.4 mod_perl/2.0.2 Perl/v5.8.8 Server at xserve.petrad.com Port  
443</address>
admin(18986):
admin(18986): 	REQUEST_METHOD: GET
admin(18986): 	HTTP_FROM: googlebot(at)googlebot.com
admin(18986): 	SERVER_PROTOCOL: HTTP/1.1
admin(18986): 	QUERY_STRING:
admin(18986): 	HTTP_USER_AGENT: Mozilla/5.0 (compatible; Googlebot/ 
2.1; +http://www.google.com/bot.html)
admin(18986): 	HTTP_CONNECTION: Keep-alive
admin(18986): 	SERVER_NAME: xserve.petrad.com
admin(18986): 	REMOTE_ADDR: 66.249.71.153
admin(18986): 	SERVER_PORT: 443
admin(18986): 	SERVER_ADDR: 192.168.1.4
admin(18986): 	DOCUMENT_ROOT: /Library/WebServer/Documents/ACVR
admin(18986): 	PYTHONPATH: /usr/share/mailman
admin(18986): 	SCRIPT_FILENAME: /usr/share/mailman/cgi-bin/listinfo
admin(18986): 	SERVER_ADMIN: treasurer at acvr.org
admin(18986): 	SCRIPT_URI: https://xserve.petrad.com/mailman/listinfo
admin(18986): 	HTTP_HOST: xserve.petrad.com
admin(18986): 	SCRIPT_URL: /mailman/listinfo
admin(18986): 	HTTPS: on
admin(18986): 	REQUEST_URI: /mailman/listinfo
admin(18986): 	HTTP_ACCEPT: */*
admin(18986): 	GATEWAY_INTERFACE: CGI/1.1
admin(18986): 	REMOTE_PORT: 42297
admin(18986): 	HTTP_ACCEPT_ENCODING: gzip,deflate


I'm sure I've missed something in setting up the virtual hosts, but  
I'm not sure what.

Thanks in advance.

-Rob




More information about the Mailman-Users mailing list