New install of mailman -- web links point to non-working https address
Hi,
I just installed mailman on a Centos 6.5 server with Apache, and find that all the links on the web interface are broken because they point to an https:// address with /cgi-bin/ in the address rather than an http:// address that works.
The Defaults.py config includes the following line:
DEFAULT_URL_PATTERN = 'http://%s/mailman/'
rather than the folloowing:
DEFAULT_URL_PATTERN = 'https://%s/mailman/cgi-bin/'
which was recommended on one web tutorial I have been using for setup.
While I wouldn't mind having it work at the SSL/https address, I don't have a working SSL certificate, won't be purchasing one, and would rather not use a self-signed one that pops up security prompts every time someone visits. So, I'm inclined to stick with the less secure http://
I've tried configuring it both ways, changing the DEFAULT_URL_PATTERN and restarting mailman, but either way the site works at http://www.mysite.com/mailman/listinfo/, but all the web links are to https://www.mysite.com/cgi-bin/listinfo/.
I've also checked the config files "mm_cfg.py" and "mailman.conf" and don't see anything that is pointing to an https:// address.
Any suggestions? I am a novice and appreciate your patience.
James
On Wed, Jul 23, 2014 at 11:43:10AM -0500, James Riemermann wrote:
[ … ]
The Defaults.py config includes the following line: DEFAULT_URL_PATTERN = 'http://%s/mailman/' rather than the folloowing: DEFAULT_URL_PATTERN = 'https://%s/mailman/cgi-bin/'
which was recommended on one web tutorial I have been using for setup.
I've tried configuring it both ways, changing the DEFAULT_URL_PATTERN and restarting mailman, but either way the site works at http://www.mysite.com/mailman/listinfo/, but all the web links are to https://www.mysite.com/cgi-bin/listinfo/.
I've also checked the config files "mm_cfg.py" and "mailman.conf" and don't see anything that is pointing to an https:// address.
Any suggestions? I am a novice and appreciate your patience.
Try fix_url : see http://wiki.list.org/pages/viewpage.action?pageId=4030616
-- "Political language... is designed to make lies sound truthful and murder respectable, and to give an appearance of solidity to pure wind." -- Orwell, 'Politics and the English Language'
On 07/23/2014 09:43 AM, James Riemermann wrote:
Hi,
I just installed mailman on a Centos 6.5 server with Apache, and find that all the links on the web interface are broken because they point to an https:// address with /cgi-bin/ in the address rather than an http:// address that works.
The Defaults.py config includes the following line:
DEFAULT_URL_PATTERN = 'http://%s/mailman/'
rather than the folloowing:
DEFAULT_URL_PATTERN = 'https://%s/mailman/cgi-bin/'
which was recommended on one web tutorial I have been using for setup.
First of all, never edit Defaults.py. Make all your settings as overrides in mm_cfg.py. See the FAQ at <http://wiki.list.org/x/fIA9>.
I've tried configuring it both ways, changing the DEFAULT_URL_PATTERN and restarting mailman, but either way the site works at http://www.mysite.com/mailman/listinfo/, but all the web links are to https://www.mysite.com/cgi-bin/listinfo/.
See the FAQ at <http://wiki.list.org/x/mIA9> for the answer to this.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Adam McGreggor
-
James Riemermann
-
Mark Sapiro