stream2012 发表于 2007-3-8 15:38:39

一个很菜很菜的人问的一个很菜很菜的问题

我需要重新实现一个动态页面
手上有的文件是一些一个linux的服务器(启用了http)
有文件夹www/cgi-bin;www/error;www/html;www/icons,
cgi-bin 中放了cgi,还有页面都放在html中
一个本地的window的服务器,通过CRT连接linux服务器
一些html的页面,一些编译通过的cgi
结果是这样
我在浏览器里可以访问每个html页面,但是在页面点连接到下个页面的时候就会出错.
比如 在浏览器中:
http://192.168.0.222/st_state.html
一会儿它就自动跳到
http://192.168.0.222/cgi-bin/paractl.cgi?st_state 结果是server error
这个是为什么呢?
还有如果在不跳前我点个钮进入下一个页面的时候会显示:
Un-CGI 1.10 (@(#)uncgi.c        1.36 07/18/01), debug mode
Before unescape: st_state
Variable WWW_st_state doesn't exist yet.
putenv WWW_st_state=
Scanned query string.
Before unescape: CGI_OK_PATH=%2Findex_state.html
Variable WWW_CGI_OK_PATH doesn't exist yet.
putenv WWW_CGI_OK_PATH=/index_state.html
Before unescape: CGI_NG_PATH=%2Ferr.html
Variable WWW_CGI_NG_PATH doesn't exist yet.
putenv WWW_CGI_NG_PATH=/err.html
Before unescape: CGI_CHECK_NG_PATH=%2Findex_state.html
Variable WWW_CGI_CHECK_NG_PATH doesn't exist yet.
putenv WWW_CGI_CHECK_NG_PATH=/index_state.html
Before unescape: CGI_CALL_NG_PATH=%2Findex_state.html
Variable WWW_CGI_CALL_NG_PATH doesn't exist yet.
putenv WWW_CGI_CALL_NG_PATH=/index_state.html
Before unescape: BUTTON_FLAG=0
Variable WWW_BUTTON_FLAG doesn't exist yet.
putenv WWW_BUTTON_FLAG=0
Before unescape: CGI_AUTOFDL_SHOW=0
Variable WWW_CGI_AUTOFDL_SHOW doesn't exist yet.
putenv WWW_CGI_AUTOFDL_SHOW=0
Before unescape: C00_DOWNLOADSTATUS=%24%7BC00_DOWNLOADSTATUS%7D
Variable WWW_C00_DOWNLOADSTATUS doesn't exist yet.
putenv WWW_C00_DOWNLOADSTATUS=${C00_DOWNLOADSTATUS}
Before unescape: C00_DOWNLOADSTATUS_FLG=0
Variable WWW_C00_DOWNLOADSTATUS_FLG doesn't exist yet.
putenv WWW_C00_DOWNLOADSTATUS_FLG=0
Before unescape: AUTOFUP_CONF=%B9%B9%BF%B7%B3%CE%C7%A7
Variable WWW_AUTOFUP_CONF doesn't exist yet.
putenv WWW_AUTOFUP_CONF=¹¹¿·³Îǧ
Before unescape: PPPMCTRL_TYPE=
Variable WWW_PPPMCTRL_TYPE doesn't exist yet.
putenv WWW_PPPMCTRL_TYPE=
Before unescape: PPPMCTRL_SESSION=
Variable WWW_PPPMCTRL_SESSION doesn't exist yet.
putenv WWW_PPPMCTRL_SESSION=
Before unescape: C00_REMOTEMAINT_FLG=0
Variable WWW_C00_REMOTEMAINT_FLG doesn't exist yet.
putenv WWW_C00_REMOTEMAINT_FLG=0
Read POST query.
HTTP/1.0 302 Found
Location: /err.html

请问我该怎么做呢?
救救我吧!
页: [1]
查看完整版本: 一个很菜很菜的人问的一个很菜很菜的问题