[Mailman-Users] Hiding a list in a virtual host

Bob Weissman rlw at rlw.best.vwh.net
Wed May 8 17:50:21 CEST 2002


Sorry for the faulty typing. In my last line, I meant shouldn't the http_host and the *host part of * the web_page_url have to match exactly.

At 08:44 AM 5/8/02, you wrote:
>To add further info to this... (1) version is Mailman 2.0.9, and (2) I found the code responsible for this behavior in Cgi/listinfo.py. It is
>
>
>            if mm_cfg.VIRTUAL_HOST_OVERVIEW and \
>                    http_host and \
>                    string.find(http_host, mlist.web_page_url) == -1 and \
>                    string.find(mlist.web_page_url, http_host) == -1:
>                # List is for different identity of this host - skip it.
>                continue
>            else:
>                advertised.append(mlist)
>
>Is this not faulty logic? Shouldn't the http_host and the web_page_url have to match exactly for the list to be displayed in the overview when VIRTUAL_HOST_OVERVIEW is set?
>
>Thanks,
>- Bob
>
>
>At 08:02 AM 5/8/02, Bob Weissman wrote:
>>I administer several Mailman lists for a non-profit organization. I would like to have two "levels" of lists; one level accessible to all members of the organization, and one level accessible only to the "insiders," the people who run the organization.
>>
>>I'm not worried about securityhere , just about confusing the general membership population. I would therefore like to hide the internal lists on a virtual host, as in "internal.foo.org", where "foo.org" is my organization's domain. This way, the general population can see only the lists they have access to, and the insiders can go to the virtual host to see the hidden lists. I don't want to use unadvertised lists, because the insiders need a friendly user interface to the private lists.
>>
>>I created the vhost, and created a test mailing list, and changed the list's web_page_url to point to the vhost. This works fine; when I go to http://internal.foo.org/mailman/listinfo, I see only the new internal list.
>>
>>The problem is that when I go to http://foo.org/mailman/listinfo, I see the new internal list also. The whole point was to have the list /not/ appear on this page. What am I missing here?






More information about the Mailman-Users mailing list