http://pan.baidu.com/share/link?shareid=123840&uk=1577556057
文件说明:
thttpd_xu1_fac_ar71xx.ipk: 原厂代码编译.
thttpd_xu1_debug_ar71xx.ipk: 增加了UDP调试功能, 调试机: IP=192.168.1.224, 端口:8080
可以看到相关的调试信息 如下
【Receive from 192.168.1.1 : 43843】:
httpd_parse_request: protocol = HTTP/1.1, url = /cgi-bin/luci, method_str = GET
File:libhttpd.c, Line:1996
【Receive from 192.168.1.1 : 51624】:
really_start_request: not CGI,
【Receive from 192.168.1.1 : 35379】:
handle_read: file_address = #!/usr/bin/lua
require "luci.cacheloader"
require "luci.sgi.cgi"
luci.dispatcher.indexcache = "/tmp/luci-indexcache"
luci.sgi.cgi.run()
File:thttpd.c, Line:1689
【Receive from 192.168.1.1 : 60984】:
connect End, tmr_run---
File:thttpd.c, Line:803
【Receive from 192.168.1.1 : 60537】:
fdwatch_get_next_client_data: End, fd = 1,
File:fdwatch.c, Line:266
//------------------------------------------------
配置文件内容如下:
# This section overrides defaults
dir=/www
#chroot
nochroot
user=root # default = nobody
logfile=/var/log/thttpd.log
pidfile=/var/run/thttpd.pid
# This section _documents_ defaults in effect
#port=80
port=8081
# nosymlink # default = !chroot
# novhost
# nocgipat
cgipat=/cgi-bin/*
# nothrottles
# host=0.0.0.0
# charset=iso-8859-1
charset=utf-8
请不要胡乱输入以及粘贴、复制等方式灌水
请尊重作者、并共同维护网站的正常阅读,否则账户将会被限制发帖、回帖,并且积分可能会被清零,站内短信以及阅读权限等都会受到影响,谢谢。
具体限制方式:https://www.right.com.cn/forum/thread-8307840-1-1.html
|