[Mailman-Users] cgi 404

Stephen J. Turnbull stephen at xemacs.org
Tue Dec 31 17:03:55 CET 2013


thufir writes:

 > Isn't there a different URL I can use instead?

Sure.  Those URLs are chosen because they require minimal setup in
many webservers, but the base URLs are configurable.

You can use any URL you want, but (1) you need to teach your webserver
to invoke the CGI script (in Apache this would be a ScriptAlias) and
where to find logos and stuff (resp. Alias) and (2) you need to tell
Mailman about it in mm_cfg.py:

    #-------------------------------------------------------------
    # If you change these, you have to configure your http server
    # accordingly (Alias and ScriptAlias directives in most httpds)
    DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/'
    PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private'
    IMAGE_LOGOS         = '/images/mailman/'

Also, if you're using virtual hosts you may need to fiddle with
bin/fix_url.py.


More information about the Mailman-Users mailing list