看板FreeBSD
标 题Re: 在升级成 Openwebmai …
发信站大同高中 (恋恋榕城) (Sun Aug 29 23:52:45 2004)
转信站ptt!ctu-reader!ctu-peer!news.nctu!News.Math.NCTU!news.ttsh.tp!ttshnews
感谢:
http://openwebmail.lagmonster.org/doc/faq.txt
我是这样解决的:
(/home/www/cgi-bin 这个要看httpd.conf怎麽定义)
装完openwebmail
先重跑apache
我发现我的 httpd.conf 多了这些东西..
LoadModule speedycgi_module libexec/apache/mod_speedycgi.so
AddModule mod_speedycgi.c
接着
cd /home/www/cgi-bin
chown -R root:mail openwebmail
cd openwebamil
chmod 4555 openwebmail*
ps. suidperl也请注意一下是不是设成 4555
faq提到,要set have_savedsuid_support to 'no' 在 etc/suid.conf
不过我找不到这档案,自己弄了一个.
--------------------------------------------------------------------------
原文如下:
5. If you are using SpeedyCGI, openwebmail seems be okay at the beginning,
but it shows "Internal Server Error" sometimes ...
Please check the apache log to see if there is error messages like
"unable to open tmp file ..."
If yes, you system may not have the savedsuid support,
please set have_savedsuid_support to 'no' in etc/suid.conf
-----------------------------------------------------------------------------
cd /home/www/cgi-bin/openwebmail/etc
chmod 771 sessions
-----------------------------------------------------------------------------
原文如下:
Q: I got "Couldn't open XXX-session-0.370606494136155!" error after login?
A: You openwebmail-1.xx.tar.gz was uncompressed with improper parameter.
It should be "tar -zxvBpf openwebmail-1.xx.tar.gz"
Or you can refer to the file permission list in the end of readme.txt
ps: you may check the permission cgi-bin/openwebmail/etc/sessions first,
it should be owner=root, group=mail, mode=771
-----------------------------------------------------------------------------
--
〥 Origin: 【恋恋榕城 bbs.ttsh.tp.edu.tw】 〥
Ψ From:《218-166-58-74.dynamic.hinet.ne》 Ψ