Differences between revisions 1 and 2
Revision 1 as of 2008-07-31 14:00:06
Size: 1930
Editor: dunxd
Comment:
Revision 2 as of 2008-07-31 14:00:07
Size: 1971
Editor: dunxd
Comment: Migrated to Confluence 4.0
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DOC/versions/14352574 #pragma page-filename DOC/versions/4030609
Line 3: Line 3:
Line 39: Line 40:
After you have done this (after first restarting mailmanctl), the links in the generated admin screen (for example, [[https://www.foo.org/mailman/admin/crochet-discuss/general]]) will correctly begin with 'https://', instead of 'http://', that is, the generated html will now look similar to: After you have done this (after first restarting mailmanctl), the links in the generated admin screen (for example, [[https://www.foo.org/mailman/admin/crochet-discuss/general|https://www.foo.org/mailman/admin/crochet-discuss/general]]) will correctly begin with 'https://', instead of 'http://', that is, the generated html will now look similar to:
Line 55: Line 56:
''Last changed on Mon Jul 10 02:44:03 2006 by'' Mark Sapiro
<<Color2(Converted from the Mailman FAQ Wizard, col=darkgreen)>>This is one of many [[../Frequently Asked Questions|Frequently Asked Questions]].
''Last changed on Mon Jul 10 02:44:03 2006 by'' Mark Sapiro<<BR>> Converted from the Mailman FAQ Wizard

This is one of many [[../Frequently Asked Questions|Frequently Asked Questions]].

4.53. Why has my change to mm_cfg.py been ignored?

After making any change in mm_cfg.py, you must restart Mailman with

  ${PREFIX}/bin/mailmanctl restart

in order to pick up the changes.

While this is necessary, it is not sufficient to change the attributes of existing lists and archives.

As an example, if you had changed the DEFAULT_URL_PATTERN record in etc/mailman/mm_cfg.py from :

  DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/'

... to:

  DEFAULT_URL_PATTERN = 'https://%s/cgi-bin/mailman/'

... then you will also need to run:

  ${PREFIX}/bin/withlist -l -r fix_url crochet-discuss

... where 'crochet-discuss' is the name of the mailing list. Or more likely run:

  ${PREFIX}/bin/withlist -l -a -r fix_url

to fix all the existing lists.

After you have done this (after first restarting mailmanctl), the links in the generated admin screen (for example, https://www.foo.org/mailman/admin/crochet-discuss/general) will correctly begin with 'https://', instead of 'http://', that is, the generated html will now look similar to:

  ...
  <li><a href="https://www.foo.org/mailman/admin/crochet-discuss/general" > <strong>[General Options]</strong></a>
  <li><a href="https://www.foo.org/mailman/admin/crochet-discuss/passwords" > Passwords</a>
  <li><a href="https://www.foo.org/mailman/admin/crochet-discuss/language" > Language&nbsp;options</a>
  ...

Likewise, such changes will not affect various URLs in existing archives until the list has been fixed as above and then the archive rebuilt with

  ${PREFIX}/bin/arch --wipe <listname>

Last changed on Mon Jul 10 02:44:03 2006 by Mark Sapiro
Converted from the Mailman FAQ Wizard

This is one of many Frequently Asked Questions.

MailmanWiki: DOC/4.53 Why has my change to mm_cfg.py been ignored? (last edited 2015-01-31 02:36:58 by msapiro)