LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: longlei

配SENDMAIL的OPENWEBMAIL时候出现问题(不断更新中)

[复制链接]
 楼主| 发表于 2004-7-22 17:04:46 | 显示全部楼层
我发现了我的问题,在APACHE中没有对CGI进行配置
所以我在<Directory "/var/www/cgi-bin">
AllowOverride None
options ExecCGI -Indexes 我改动了这行
order allow,deny
Allow from all
</directory>
再把AddHandler cgi-script .cgi .pl写在后面
但是这样,不是有页面生成,而是直接的读取了脚本的内容怎么会这样呢!?
 楼主| 发表于 2004-7-22 17:22:40 | 显示全部楼层
倒霉哦!我刚才忍不住重新写过了一遍,可现在连脚本内容都不出现了,有回到了前面的情况了,大家说怎么回事呀,我现在对这个问题的判断就是CGI的问题!!!
Server error!

The server encountered an internal error and was unable to complete your request.

Error message:
Premature end of script headers: openwebmail.pl

Error 500

从这个IE上的页面上来说错误是在OPENWEBMAIL。PL,但是,你们看看我编译的。/openwebmail-tools --init
[root@long openwebmail]# ./openwebmail-tool.pl --init


Welcome to the Open WebMail!

This program is going to send a short message back to the developer,
so we could have the idea that who is installing and how many sites are
using this software, the content to be sent is:

OS: Linux 2.4.20-8 i686
Perl: 5.008
WebMail: Open WebMail 2.32 20040525

Send the site report?(Y/n) y
sending report...

Thank you.

[root@long openwebmail]#
 楼主| 发表于 2004-7-22 17:23:58 | 显示全部楼层
是不是我的PERL的包有问题呀!少装了!?
-rw-rw-r--    1 liuzheng liuzheng  6678253 Jul 22 12:01 openwebmail-2.32-20040525.i386.rpm
-rw-rw-r--    1 liuzheng liuzheng   188141 Jul 22 11:47 perl-CGI-2.81-88.i386.rpm
-rw-rw-r--    1 liuzheng liuzheng    91428 Jul 22 11:47 perl-CGI-SpeedyCGI-2.21-RH9.i386.rpm
-rw-rw-r--    1 liuzheng liuzheng    45244 Jul 22 11:47 perl-Compress-Zlib-1.21-RH9.i386.rpm
-rw-rw-r--    1 liuzheng liuzheng    14659 Jul 22 11:48 perl-Text-Iconv-1.2-RH80.i386.rpm
[root@long openwebmail]#
 楼主| 发表于 2004-7-22 17:24:53 | 显示全部楼层
-rw-rw-r--    1 liuzheng liuzheng   141980 Jul 22 12:15 perl-suidperl-5.8.0-88.i386.rpm
这个包要装吗!?
我要补充一点,对于这个包我前面能够读出脚本内容的时候安装上了,但我为了能正常运行脚本,我又吧它下了,当然我想关系不大吧!现在我再安装上试试
 楼主| 发表于 2004-7-22 17:29:45 | 显示全部楼层
呵呵,我今天有问题就上来问,想各位大大给个提示,问各位的同时也是问我自己,虽然到现在也没有人答复我!而我也没有配好!
 楼主| 发表于 2004-7-22 17:52:36 | 显示全部楼层
我说说我先在的情况吧!
我安装了
-rw-rw-r-- 1 liuzheng liuzheng 6678253 Jul 22 12:01 openwebmail-2.32-20040525.i386.rpm
-rw-rw-r-- 1 liuzheng liuzheng 188141 Jul 22 11:47 perl-CGI-2.81-88.i386.rpm
-rw-rw-r-- 1 liuzheng liuzheng 91428 Jul 22 11:47 perl-CGI-SpeedyCGI-2.21-RH9.i386.rpm
-rw-rw-r-- 1 liuzheng liuzheng 45244 Jul 22 11:47 perl-Compress-Zlib-1.21-RH9.i386.rpm
-rw-rw-r-- 1 liuzheng liuzheng 14659 Jul 22 11:48 perl-Text-Iconv-1.2-RH80.i386.rpm
-rw-rw-r-- 1 liuzheng liuzheng 141980 Jul 22 12:15 perl-suidperl-5.8.0-88.i386.rpm
然后我在APACHE配置了
所以我在<Directory "/var/www/cgi-bin">
AllowOverride None
options ExecCGI -Indexes 我改动了这行
order allow,deny
Allow from all
</directory>
再把AddHandler cgi-script .cgi .pl写在后面
我再次编译。/openwebmail-tools.pl --init
[root@long openwebmail]# ./openwebmail-tool.pl --init


Welcome to the Open WebMail!

This program is going to send a short message back to the developer,
so we could have the idea that who is installing and how many sites are
using this software, the content to be sent is:

OS: Linux 2.4.20-8 i686
Perl: 5.008
WebMail: Open WebMail 2.32 20040525

Send the site report?(Y/n) y
sending report...

Thank you.
我再试试
我现在CGI的测试都过不了,肯定是CGI的问题,看来要从这边下手了
 楼主| 发表于 2004-7-22 18:03:55 | 显示全部楼层
我真的有点晕了,我原来在HTTPD中设置CGI都是这么设的哦!没有问题,可现在出问题了!怎么回事呢?
 楼主| 发表于 2004-7-22 18:08:59 | 显示全部楼层
难道是打哪几个OPENWEBMAIL包的原因吗!?
 楼主| 发表于 2004-7-22 21:21:02 | 显示全部楼层
有没有人知道是怎么回事呢!?
 楼主| 发表于 2004-7-23 09:32:56 | 显示全部楼层
各位老大,给个解释嘛,能不能告诉我OPENWEBMAIL的哪些包都是干什么用的?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表