Mailman CGI URLs bounce to SSL

I am trying to setup a public mailman list. Ive managed to get it working via email commands but the cgi interface is doing odd things with the URLs.

The public URL is http://lists.ozzope.org/mailman/listinfo/ozzope but when I go to that URL it tries to bounce me to https://lists.ozzope.org:10000/virtualmin-mailman/unauthenticated/listin...

I certainly dont want this to happen because I have no SSL certificate on that domain and I want the URLs to be plain on port 80 as you would normally expect.

How do I turn off this redirecting behaviour and make the main URL work properly?

-bump-

Status: 
Closed (fixed)

Comments

any chance someone could respond to this, its now becoming a little urgent for my client.

Thanks Tom

The problem here is that the Mailman CGI scripts cannot be used when suexec is also enabled for a virtual server, so Virtualmin does a redirect to its own webserver on port 10000 where they will work.

Do you have any valid SSL certificates for any domains that you could use? If so, you can configure the URL to which the redirect happens to be one that you have a valid cert for, and then configure Virtualmin's own webserver to use that cert.

No SSL cert at all on that machine and we also need to make sure it is served on port 80 (some clients in government networks that block ports) so its not just the SSL issue. It seems so odd that its an issue given that every other installation of mailman Ive ever seen works fine with normal cgi on port 80.

I just wondered, could I perhaps use a mod_proxy rewrite?

One solution some people use is to create a domain named like mailman.yourcompany.com which proxies all requests to https://localhost:10000/ . You can then have the mailman URLs redirect to that domain. The redirect destination can be set at System Settings -> Features and Plugins -> Mailman -> Configure.

OK you give me the clue I needed, I have setup a proxy redirect using the Site Configuration > Edit Proxy Website and simply redirected the entire domain to https://lists.ozzope.org:10000/ - for me this works perfectly because I have no other web content on that domain.

Thanks

I spoke too soon, generated URLs are still wrong.

So do you mean the redirect is still to the port 10000 URL?

You may need to go to Webmin -> Servers -> Virtualmin Mailman Mailing Lists , and click "Fix Mailman URLs" down the bottom of the page.

Jamie, yes you are right I had to do that as well. Also in my case this is the only domain on that machine using mailman so its fine but if there were more domains using it then your suggestion of a generic lists domain and redirect would be better.

Cool, I think we can call this fixed then.

Automatically closed -- issue fixed for 2 weeks with no activity.