找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2947|回复: 1

openwrt 下的 thttpd V2.25b ipk安装包, 自测成功

[复制链接]
发表于 2013-6-7 11:28 | 显示全部楼层 |阅读模式
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


我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2013-6-26 09:42 | 显示全部楼层
Web server为thttpd-2.25B, 安装上面的ipk后, 再自己写CGI, Demo演示如下
http://qiushui-007.vicp.cc:8081/bsedit
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-25 09:02

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

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