Michael Anderson wrote: > >I have several lists on the same server, all with the same domain >name. I currently have a public "listinfo" page which displays only >selected lists that have the "advertise" option enabled. > >How can I set up a second private (protected with .htaccess) page >which shows all of the lists?
You could create an other/ directory on your server and put your .htaccess and a symlink (named say listinfo) to $prefix/cgi-bin/listinfo in that directory. Then you could modify the the following section of the definition of listinfo_overview() in $prefix/Mailman/listinfo.py from for name in listnames: mlist = MailList.MailList(name, lock=0) if mlist.advertised: if mm_cfg.VIRTUAL_HOST_OVERVIEW and \ ... to something like for name in listnames: mlist = MailList.MailList(name, lock=0) if mlist.advertised or ( os.environ.get('SCRIPT_NAME').startswith('/other')): if mm_cfg.VIRTUAL_HOST_OVERVIEW and \ ... and add the appropriate ScriptAlias to the web server so that http://www.example.com/other/listinfo will invoke your symlink. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org 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