Okay. That worked. Now I have upgraded Mailman from an early 2x to 2.1.29. the script alias is not working consistently now across all lists. Some web page admin links are broken requiring me to manually insert the /cgi-bin/ into the web browser to bring up admin pages. Other links work w.o. the cgi-bin. I cannot admin one of my lists too. Any link I click on in the General Options Section takes me back to asking me for the list admin password, i.e. stuck in a loop.
Thank you again.
-----Original Message----- From: Mailman-Users [mailto:mailman-users-bounces+csa=web-analysts.net@python.org] On Behalf Of Mark Sapiro Sent: Saturday, May 11, 2019 11:22 AM To: mailman-users@python.org Subject: Re: [Mailman-Users] mailman start error
On 5/11/19 7:43 AM, Web Analysts via Mailman-Users wrote:
I'm now getting an error when I start Mailman:
root@primeo:~# /etc/init.d/mailman start Traceback (most recent call last): File "/usr/local/mailman/bin/mailmanctl", line 106, in <module> from Mailman import mm_cfg File "/usr/local/mailman/Mailman/mm_cfg.py", line 54, in <module> add_virtualhost(lists.domainname.tld, lists.domainname.tld) NameError: name 'lists' is not defined root@primeo:~#
What did I inadvertently break?
In the line
add_virtualhost(lists.domainname.tld, lists.domainname.tld)
which you added to mm_cfg.py, the domain names need to be quoted as in
add_virtualhost('lists.domainname.tld', 'lists.domainname.tld')
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/csa%40web-analysts.net
On 5/12/19 9:16 AM, Web Analysts via Mailman-Users wrote:
Okay. That worked. Now I have upgraded Mailman from an early 2x to 2.1.29. the script alias is not working consistently now across all lists. Some web page admin links are broken requiring me to manually insert the /cgi-bin/ into the web browser to bring up admin pages. Other links work w.o. the cgi-bin. I cannot admin one of my lists too. Any link I click on in the General Options Section takes me back to asking me for the list admin password, i.e. stuck in a loop.
See the faq at <https://wiki.list.org/x/4030616>. This will help with some of this.
For the rest, I'm not sure what you are saying. If you are saying you need to access some lists via, e.g., http://www.example.com/mailman/cgi-bin/..., and others via http://www.example.net/mailman/... without the cgi-bin, that's your web server configuration. You need to adjust that to make the ScriptAlias (or whatever your web server uses) directives consistent over all domains.
If you are only saying some lists' pages have links with the cgi-bin and other lists' pages have links without the cgi-bin, setting DEFAULT_URL_PATTERN appropriately and running fix_url per the above faq will fix it.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 5/12/19 4:05 PM, Mark Sapiro wrote:
On 5/12/19 9:16 AM, Web Analysts via Mailman-Users wrote:
Okay. That worked. Now I have upgraded Mailman from an early 2x to 2.1.29. the script alias is not working consistently now across all lists. Some web page admin links are broken requiring me to manually insert the /cgi-bin/ into the web browser to bring up admin pages. Other links work w.o. the cgi-bin. I cannot admin one of my lists too. Any link I click on in the General Options Section takes me back to asking me for the list admin password, i.e. stuck in a loop.
See the faq at <https://wiki.list.org/x/4030616>. This will help with some of this.
Other FAQs which may be helpful with the latter issue are <https://wiki.list.org/x/4030602> and <https://wiki.list.org/x/4030614>
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro -
Web Analysts