trying to change default_url_pattern

I put this setting in my mm_cfg.py: DEFAULT_URL_PATTERN = 'http://%s/mailman_ldap/'
and my httpd.conf contains this: # This alias is for mailman mailing lists ScriptAlias /mailman_ldap/ "/usr/local/mailman_ldap/cgi-bin/"
I can log into the list fine, but all of the links on that page are /mailman/ not /mailman_ldap/ and if I try and type in the correct link it works. How do I change this so that it changes what links it creates in my web interface?* *
--
Anne

Anne Ramey sent the message below at 12:31 10/26/2006:
I put this setting in my mm_cfg.py: DEFAULT_URL_PATTERN = 'http://%s/mailman_ldap/'
and my httpd.conf contains this: # This alias is for mailman mailing lists ScriptAlias /mailman_ldap/ "/usr/local/mailman_ldap/cgi-bin/"
I can log into the list fine, but all of the links on that page are /mailman/ not /mailman_ldap/ and if I try and type in the correct link it works. How do I change this so that it changes what links it creates in my web interface?* * ---------------- End original message. ---------------------
Did you make these changes before or after setting up the list(s)?
If after, did you run fix_url on the list(s) to update their configuration?
Dragon
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)

I thought that was just for the hostname. Worked like a charm! Thanks
Anne
Dragon wrote:
Anne Ramey sent the message below at 12:31 10/26/2006:
I put this setting in my mm_cfg.py: DEFAULT_URL_PATTERN = 'http://%s/mailman_ldap/'
and my httpd.conf contains this: # This alias is for mailman mailing lists ScriptAlias /mailman_ldap/ "/usr/local/mailman_ldap/cgi-bin/"
I can log into the list fine, but all of the links on that page are /mailman/ not /mailman_ldap/ and if I try and type in the correct link it works. How do I change this so that it changes what links it creates in my web interface?* * ---------------- End original message. ---------------------
Did you make these changes before or after setting up the list(s)?
If after, did you run fix_url on the list(s) to update their configuration?
Dragon
Venimus, Saltavimus, Bibimus (et naribus canium capti sumus)

Anne Ramey wrote re: fix_url:
I thought that was just for the hostname. Worked like a charm! Thanks
Actually, you can change host_name (email host) from the web interface so fix_url isn't really needed for that. What fix_url updates in addition to host_name is the hidden attribute web_page_url which is made from DEFAULT_URL_PATTERN with the substitution of the web host,
See <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq04.069.htp>.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Anne Ramey
-
Dragon
-
Mark Sapiro