Lee, Davis H wrote:
>
>In migrating from OS X to Ubuntu, my old URLs, listed on all the links
>on all the pages brought over, had addresses without /cgi-bin/, like
>this:
>
>http://lists.aps.edu/mailman/admin 
>
>The new install expects the /cgi-bin/, like this:
>
>http://lists.aps.edu/cgi-bin/mailman/admin
>
>What's the best way to fix this?


If your web server is Apache, it has something in its configuration like

ScriptAlias /cgi-bin/mailman/ "/usr/lib/mailman/cgi-bin/"

Change that or its equivalent in your web server to

ScriptAlias /mailman/ "/usr/lib/mailman/cgi-bin/"

You will then also find that either mm_cfg.py or Defaults.py contains

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

If it's in mm_cfg.py, change it, or if it's in Defaults.py, override it
in mm_cfg.py so you have in mm_cfg.py

DEFAULT_URL_PATTERN = 'http://%s/mailman/'

You will then need to run fix_url to update the web_page_url attribute
for existing lists (see the FAQ at <http://wiki.list.org/x/mIA9>).

-- 
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list [email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to