博客首页 注册 建议与交流 排行榜 加入友情链接
推荐 投诉 搜索: 帮助

飞翔,嵌入式linux

linux嵌入式系统必将大行于天下。专注于linux嵌入式系统的搭建,专注于高效稳定软件的开发,专注底层程序调试技术。
  feixiang.cublog.cn

关于作者
姓名:飞翔
Email:loughsky@sina.com
职业:IT
年龄:32
位置:北京
个性介绍:专注在嵌入式操作系统,以及高效程序调试
|| << >> ||
我的分类


Mailman : Apache+Suexec
When your Apache is configured with suexec enabled, you have to choose either the correct location when installing Mailman (under suexec_docroot) or recompile Apache so suit your installation needs.

I choosed a compromiss:

1. Recompile Apache with --suexec-docroot=/home 2. Install Mailman under /home/mailman

When configuring Mailman, choose --with-cgi-gid=mailman (not the usual group 'www' for virtual hosts)

After installation of Mailman, some permissions have to be altered:

 - $prefix/cgi-bin* should be owned by mailman:mailman
 - $prefix/cgi-bin shouldn't have group-write-access (suexec doesn't like that)
 - disable cgi-scripts' setgid-bit (suexec doesn't like that)
 # chown mailman:mailman $prefix/cgi-bin*
 # chmod g-w $prefix/cgi-bin
 # chmod g-s $prefix/cgi-bin/*
Ok, then you can add specific virtual hosts for list administration:

 <VirtualHost YOUR_IP>
 ServerName      list.somehost.de
 ServerAlias     list.somehost.de
 ...
 SuexecUserGroup mailman mailman <-- this one is important
 #
 # Mailman Sektion
 #
 ScriptAlias     /mailman/       /home/mailman/cgi-bin/
 Alias           /pipermail/     /home/mailman/archives/public/
 <Directory "/home/mailman/archives/public/">
  AddDefaultCharset off
 </Directory>
 </VirtualHost>
It worked fine for me, and I hope it will for others :)

 原文地址 http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq06.017.htp
发表于: 2007-11-14,修改于: 2007-11-14 16:10,已浏览589次,有评论0条 推荐 投诉


网友评论
 发表评论