Mailman, HTTP POST and 301 redirects

After changing my domain configuration a little (do 301 redirects from nkuttler.de to www.nkuttler.de/ etc.) I noticed that my mailman web interface stopped working. I tried to moderate, change settings etc., but once the form was submitted nothing happened.

After some digging I found the problem: 301 redirects don't pass POST parameters. And when I configured the mailing list I set the domain to nkuttler.de. So mailman sets the form action to http://nkuttler.de/foo/bar, this gets redirected to the correct domain, but the POST data is gone. How do you change the web host? I couldn't find anything in the admin interface, it looks like you have to do it on the command line.

cd /var/lib/mailman/bin
./withlist -l -r fix_url list -u www.nkuttler.de/

This is the precise command for Debian, on other distros you'll have to find the correct location.Update: I'm not quite sure how I missed it, but the host_name parameter should allow you to change this setting as well. For other questions about the default URL you can also read the Where can I change a list or the default URL used for the web interface? FAQ entry.

2 comments

  1. avatar
    wrote this comment on

    Isn't it better to drop the www than to add it in? It's superfluous.

  2. avatar
    wrote this comment on

    Well, of course you can do whatever you like better. I just like having having the www subdomain. :-D

Reply

Cancel reply
Markdown. Syntax highlighting with <code lang="php"><?php echo "Hello, world!"; ?></code> etc.
DjangoPythonBitcoinTuxDebianHTML5 badgeSaltStackUpset confused bugMoneyHackerUpset confused bugX.OrggitFirefoxWindowMakerBashIs it worth the time?i3 window managerWagtailContainerIrssiNginxSilenceUse a maskWorldInternet securityPianoFontGnuPGThunderbirdJenkinshome-assistant-logo