On 11/26/2010 08:45 PM, Mark Sapiro wrote:
Robert Moskowitz wrote:
Now is there a REASONABLE way to just make the URL http://mailman.foo.com (leaving archives at I think it is suppose to be http://mailman.foo.com/archives)?
If all you want is for http://mailman.foo.com to get the listinfo overview page, this works in Apache
RedirectMatch ^[/]+$ /mailman/listinfo
I don't know how you'd translate that to Amahi Home Server.
I will work through this in a bit, but the Amahi Home Server runs on Fedora 12 uses Apache and for a webapp like mailman, it has its own .conf file in /etc/http/conf.d that is set up with a basic virtual host configuration for webapp/foo/com. It was a small matter to remove much of the original content and put in the mailman.conf specific definitions. Once I get mailman working for Amahi, I will be submitting it to the maintains so that it can be a 'standard' single click app. Or I hope I can get it working well. It will be an addon to what we have done for a postfix mail server for Amahi.
If you wan't to drop the '/mailman' from all URLs you would need to change whatever the equivalent of
ScriptAlias /mailman/ /path/to/mailman/cgi-bin/
is to something equivalent to
ScriptAlias / /path/to/mailman/cgi-bin/
plus the equivalent of
RedirectMatch ^[/]+$ /listinfo
You would also need to add
DEFAULT_URL_PATTERN = 'http://%s/'
to mm_cfg.py and run fix_url to update the web_page_url for existing lists.