雷傲BBS--500错误求助。找几天了,有详细情况说明。

由 adminxp 在 06-25-2004 00:13 发表:

雷傲BBS--500错误求助。找几天了,有详细情况说明。

500错误!!!

我用了几天找这个的解决办法,一直没有找到.哎,真的不得不发帖请教了.

要说明的几点:

1、按雷傲论坛的readme设置好了权限。

2、用CGI探针可以看到环境变量什么的,看起来一切正常。

3、用apt-get 安装的php4和apache2,perl是跟着OS系统一起装的。

debian:/etc/apache2/mods-enabled# ls

cgid.conf cgid.load cgi.load php4.conf php4.load

4、apahce2的cgi-bin相关设置

#apache2.conf

AddHandler cgi-script .cgi .pl

#/etc/apache2/sites-enabled/default

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

 1<directory "="" cgi-bin"="" lib="" usr="">   
 2  
 3AllowOverride None   
 4  
 5Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch   
 6  
 7Order allow,deny   
 8  
 9Allow from all   
10  
11</directory>

以下是我的cgi探针结果:

> > 源码: >
> * * * >
> DOCUMENT_ROOT="/var/www/"
> > >
> > > GATEWAY_INTERFACE="CGI/1.1"
> > >
> > > HTTP_ACCEPT="text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,image/jpeg,image/gif;q=0.2,/;q=0.1"
> > >
> > > HTTP_ACCEPT_CHARSET="GB2312,utf-8;q=0.7,*;q=0.7"
> > >
> > > HTTP_ACCEPT_ENCODING="gzip,deflate"
> > >
> > > HTTP_ACCEPT_LANGUAGE="zh-cn,eu;q=0.5"
> > >
> > > HTTP_CACHE_CONTROL="max-age=0"
> > >
> > > HTTP_CONNECTION="keep-alive"
> > >
> > > HTTP_COOKIE="template=classic; lng=en"
> > >
> > > HTTP_HOST="test.mydomain.com"
> > >
> > > HTTP_KEEP_ALIVE="300"
> > >
> > > HTTP_USER_AGENT="Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.6) Gecko/20040531 Debian/1.6-7firefly"
> > >
> > > PATH="/sbin:/bin:/usr/sbin:/usr/bin"
> > >
> > > QUERY_STRING=""
> > >
> > > REMOTE_ADDR="192.168.0.123"
> > >
> > > REMOTE_PORT="33042"
> > >
> > > REQUEST_METHOD="GET"
> > >
> > > REQUEST_URI="/cgi-bin/test-cgi/test.cgi"
> > >
> > > SCRIPT_FILENAME="/usr/lib/cgi-bin/test-cgi/test.cgi"
> > >
> > > SCRIPT_NAME="/cgi-bin/test-cgi/test.cgi"
> > >
> > > SERVER_ADDR="192.168.0.123"
> > >
> > > SERVER_ADMIN="[email protected]"
> > >
> > > SERVER_NAME="test.mydomain.com"
> > >
> > > SERVER_PORT="80"
> > >
> > > SERVER_PROTOCOL="HTTP/1.1"
> > >
> > > SERVER_SIGNATURE="

1<address>Apache/2.0.49 (Debian GNU/Linux) PHP/4.3.4 Server at test.mydomain.com Port 80</address>

\n"
> > >
> > > SERVER_SOFTWARE="Apache/2.0.49 (Debian GNU/Linux) PHP/4.3.4" >
> * * *


渴望:有米米了,第一打算就是升级为64位的机器和系统。内存整个3G,双CPU,80G装OS,500G放数据。不爽了得?!

现状:跑在DURON850+128M上,狂燥、心急的运行各种服务和程序。两个字总结一下心情那就是“烦燥”


由 Snoopy 在 06-25-2004 00:18 发表:


雷傲论坛没用过,看看其他兄弟能否帮到你


And then in the evening light, when the bars of freedom fall

I watch the two of you in the shadows on the wall

How in the darkness steals some of the choices from my hand

Then will I begin to under


由 william0116 在 06-

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus