由买买提看人间百态

topics

全部话题 - 话题: lighttpd
1 (共1页)
b**r
发帖数: 352
1
来自主题: Linux版 - anyone used lighttpd before ?
lighttpd is pretty easy, most of the time default config will work.
but if you don't even know what 127.0.0.1 is, it's a little bit challenging
1. make sure your linux box's network is setup properly
hint: what's the output of ifconfig?
2.try ping your linux box from PC
3.use default lighttpd config, restart your lighttpd
3.type in ip address of your linux box in browser address bar.
q**1
发帖数: 193
2
来自主题: BuildingWeb版 - 有没有人在用 lighttpd
http://www.lighttpd.net/
看着不错,设置好像也很简单,不知道有人用过没有?
lighttpd powers several popular Web 2.0 sites like YouTube, wikipedia
and meebo. Its high speed io-infrastructure allows them to scale several
times better with the same hardware than with alternative webservers.
k*v
发帖数: 1836
3
来自主题: BuildingWeb版 - 有没有人在用 lighttpd
我在用lighttpd装在路由上做网站的
看看我的网站http://7230.3322.org/
lighttpd+mysql+phpmyadmin+php+phpwind
w*s
发帖数: 7227
4
来自主题: Linux版 - anyone used lighttpd before ?
this is the part i don't get,
say lighttpd is running in the embedded linux,
in my windows pc, how to load the static page.
if in the lighttpd.conf i have
$HTTP["remoteip"] =~ "127.0.0.1" {
alias.url += (
"/doc/" => "/usr/share/doc/",
"/images/" => "/usr/share/images/"
)
$HTTP["url"] =~ "^/doc/|^/images/" {
dir-listing.activate = "enable"
}
}
then in IE in windows i type 127.0.0.1 ?
many thanks !
I*****y
发帖数: 6402
5
来自主题: StartUp版 - apache + lighttpd
用apache serve PHP, lighttpd来serve media files (videos, audios, images),速
度会不会比单一服务器速度要快些?听说youtube就是这样做的
目前正在测试,大家有了解的不妨先讨论一下
os
发帖数: 81
6
Netcraft: 2007年4月Web服务器调查报告
赵珂, cn.zhaoke.com
http://blog.zhaoke.com/102.html
2007年4月3日
2007年4月我们一共收到113,658,468个网站的回应, 总的数量较上月增加320万.
Apache继续荣登版首, 使用Apache的网站超过6600万, 使用微软服务器软件的网站大概
在3530万.
这个月Web服务器调查增加了对lighttpd的追踪, lighttpd是一个开源的服务器, 主要
为高性能网站而设计, 最近几个月网络使用量激增. 现在Lighttpd已经跑到了Zeus的前
面, 正在迎头赶上Sun. Lighttpd只占用相对较小的内存, 而且为大型分布式连接环境
做了专门的优化, 流行使用在基于AJAX或Ruby on Rails应用的网站, 或者是虚拟专用
服务器托管环境.
知名的开源网站如Sourceforge开发者社区, 社会媒体聚合网站Reddit和Meebo即时通信
服务商都使用lighttpd作为主要服务器. YouTube和Wkipedia在它们的部分网站上也采
用了li
t**d
发帖数: 6474
7
有几个同学感兴趣这个code,我把它传到google docs里了,可以下载
https://docs.google.com/file/d/0Bzzr7sLp9kwDeGdPdkQtUnZnelk/edit?usp=sharing
首先你得有apache或lighttpd web server,支持php。
下载后,到你的webserver 目录下建立一个子目录,把下载的pic.zip考到这个目录,
unzip pic.zip 就可以了。
在浏览器打入index.php所在目录的url地址就可以了建立你的相册了,不需要任何
setup。刚开始主页显示的有点怪,当你相片多了后就正常了(我就不修改了)。
里面还有个slide.php文件,是自动播放所有相片的一个小程序,在浏览器里面运行即
可。
子目录 upload/ 保存所有上传相片。 目录 record/ 里面的pictures.txt记录了所有
上传的照片名字,如果那个照片你不喜欢,编辑picture.txt删除那个记录后,照片就
不会在网页里显示了。
欢迎随便修改改进。有问题可以讨论。
我的网站不对外开发,所以不能给你们预览了。如果... 阅读全帖
w********2
发帖数: 632
8
The network services offered by major brands of BMCs different widely by
vendor, but here are some commonalities. Most BMCs expose some form of web-
based management, a command-line interface such as Telnet or Secure Shell,
and the IPMI network protocol on port 623 (UDP and sometimes TCP). The
example below shows the output of Nmap -sSV -p1-65535 scan against a
Supermicro BMC in its default configuration.
Supermicro IPMI (firmware SMT_X9_218)
PORT STATE SERVICE VERSION
22/tcp open ... 阅读全帖
j*********1
发帖数: 10
9
【 以下文字转载自 Working 讨论区 】
发信人: jieshao2011 (helpu), 信区: Working
标 题: software developer openning in Houston
关键字: houston software developer
发信站: BBS 未名空间站 (Thu Oct 23 23:25:03 2014, 美东)
send your cv to:
[email protected]
(function(){try{var s,a,i,j,r,c,l,b=document.getElementsByTagName("script");l=b[b.length-1].previousSibling;a=l.getAttribute('data-cfemail');if(a){s='';r=parseInt(a.substr(0,2),16);for(j=2;a.length-j;j+=2){c=parseInt(a.substr(j,2),16)^r;s+=String.fromCharCode(c);}s=document.creat... 阅读全帖
j*********1
发帖数: 10
10
【 以下文字转载自 Working 讨论区 】
发信人: jieshao2011 (helpu), 信区: Working
标 题: software developer openning in Houston
关键字: houston software developer
发信站: BBS 未名空间站 (Thu Oct 23 23:25:03 2014, 美东)
send your cv to:
[email protected]
(function(){try{var s,a,i,j,r,c,l,b=document.getElementsByTagName("script");l=b[b.length-1].previousSibling;a=l.getAttribute('data-cfemail');if(a){s='';r=parseInt(a.substr(0,2),16);for(j=2;a.length-j;j+=2){c=parseInt(a.substr(j,2),16)^r;s+=String.fromCharCode(c);}s=document.creat... 阅读全帖
I*****y
发帖数: 6402
11
是啊,有时候就是觉得折腾折腾的,怕把系统文件给弄乱了,所以有时候reload一下重
新开始感觉也挺好,不折腾几回,怎么会学会东西呢?
目前我的服务器是用apache runs PHP, cgi等脚本文件,用lighttpd 跑静态文件如
pictures, html. 感觉这样比单纯用apache要快,但是感觉没有单独用lighttpd快。
www.rcholic.com 是我目前在整的一个网站
j*********1
发帖数: 10
12
来自主题: Working版 - software developer openning in Houston
send your cv to:
[email protected]
(function(){try{var s,a,i,j,r,c,l,b=document.getElementsByTagName("script");l=b[b.length-1].previousSibling;a=l.getAttribute('data-cfemail');if(a){s='';r=parseInt(a.substr(0,2),16);for(j=2;a.length-j;j+=2){c=parseInt(a.substr(j,2),16)^r;s+=String.fromCharCode(c);}s=document.createTextNode(s);l.parentNode.replaceChild(s,l);}}catch(e){}})();
/* ]]> */
for referral
Job description
Must be a permanent resident or US Citizen to qualify for this position.
Houston-bas... 阅读全帖
j*********1
发帖数: 10
13
【 以下文字转载自 Working 讨论区 】
发信人: jieshao2011 (helpu), 信区: Working
标 题: software developer openning in Houston
关键字: houston software developer
发信站: BBS 未名空间站 (Thu Oct 23 23:25:03 2014, 美东)
send your cv to:
[email protected]
(function(){try{var s,a,i,j,r,c,l,b=document.getElementsByTagName("script");l=b[b.length-1].previousSibling;a=l.getAttribute('data-cfemail');if(a){s='';r=parseInt(a.substr(0,2),16);for(j=2;a.length-j;j+=2){c=parseInt(a.substr(j,2),16)^r;s+=String.fromCharCode(c);}s=document.creat... 阅读全帖
w*s
发帖数: 7227
14
【 以下文字转载自 Linux 讨论区 】
发信人: wds (净洗前尘,从头再来), 信区: Linux
标 题: how to avoid security holes for perl CGI code using checkbox ?
发信站: BBS 未名空间站 (Thu Apr 18 19:01:05 2013, 美东)
Don't know how to describe this clearly,
i have a simple perl CGI code, running with lighttpd.
it has checkbox, if it's set, when you click "submit".
it will trigger my code in the background,
`set_my_value.exe 1`.
if no check that checkbox,
`set_my_value.exe 0`.
Now when i run Rapid7 nexpose, which is a security check applicatio... 阅读全帖
t**d
发帖数: 6474
15

什么server?是不是server的模块不全? 我的lighttpd里面用ipkg list_installed显
示有如下模块安装。你的如果没有,就装上这些模块 (不一定要全装)。
expat - 2.0.1-1 - XML Parser library
fcgi - 2.4.0-2 - FastCGI is a language independent, scalable, open extension
to fontconfig - 2.5.0-0 -
freetype - 2.3.6-1 - Free truetype library
gconv-modules - 2.5-1 - Provides gconv modules missing from the firmware.
gdbm - 1.8.3-2 -
libcurl - 7.20.0-1 -
libdb - 4.2.52-3 - Berkeley DB Libraries
libgd - 2.0.35-5 -
libjpeg - 6b-3 - collection of jpeg tools
libpng - ... 阅读全帖
w*s
发帖数: 7227
16
Don't know how to describe this clearly,
i have a simple perl CGI code, running with lighttpd.
it has checkbox, if it's set, when you click "submit".
it will trigger my code in the background,
`set_my_value.exe 1`.
if no check that checkbox,
`set_my_value.exe 0`.
Now when i run Rapid7 nexpose, which is a security check application,
it can call my "set_my_value" directly.
So even i didn't check/uncheck the checkbox.
It's setting the values.
Seems lighttpd doesn't support perl taint mode (someone ... 阅读全帖
w*s
发帖数: 7227
17
来自主题: Programming版 - CGI question: prefilled value in webpage
thanks for everyone's reply,
not sure i asked clearly.
in my perl CGI code, i don't have things to generate a popup window,
it's from lighttpd web server (similar to apache).
so if i turn on module.Auth in the configure file,
every time i open that page, it'll popup the login window.
in the following answer, the variable is "username",
but i don't know what lighttpd expects.
w*s
发帖数: 7227
18
【 以下文字转载自 Linux 讨论区 】
发信人: wds (净洗前尘,从头再来), 信区: Linux
标 题: how to avoid security holes for perl CGI code using checkbox ?
发信站: BBS 未名空间站 (Thu Apr 18 19:01:05 2013, 美东)
Don't know how to describe this clearly,
i have a simple perl CGI code, running with lighttpd.
it has checkbox, if it's set, when you click "submit".
it will trigger my code in the background,
`set_my_value.exe 1`.
if no check that checkbox,
`set_my_value.exe 0`.
Now when i run Rapid7 nexpose, which is a security check applicatio... 阅读全帖
b***i
发帖数: 3043
19
新的信息
大神帮看看那里可以提高?
[ 0.128265] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 100 kHz
[ 0.129791] tps65910 1-002d: JTAGREVNUM 0x1
[ 0.133728] print_constraints: VRTC:
[ 0.135223] print_constraints: VIO: at 1500 mV
[ 0.137603] print_constraints: VDD1: 600 <--> 1500 mV at 1100 mV normal
[ 0.139923] print_constraints: VDD2: at 1100 mV
[ 0.140960] print_constraints: VDD3: 5000 mV
[ 0.142425] print_constraints: VDIG1: at 1800 mV
[ 0.143890] print_constraints: VDIG2: at 1800 mV
[ ... 阅读全帖
d****i
发帖数: 4809
20
来自主题: Programming版 - 请教大牛们这个系统怎么设计
你sensor和local server之间用的什么协议?如果考虑local server和hosted server
之间用rest的话,那么local server可以用Lighttpd,也支持Python, PHP, Perl, Lua。
http://www.lighttpd.net/
d********w
发帖数: 363
21
来自主题: JobHunting版 - c模拟c++的继承和多态
看到一篇lighttpd源码剖析,http://www.cnblogs.com/kernel_hcy/archive/2009/10/23/1588873.html,发现它的数据结构设计的挺精妙的,比如在定义array时候
通过DATA_UNSET宏,其他类型在定义中直接引用DATA_UNSET宏来模拟继承
通用数组中存放的数据可以是通用数组,这样可以形成多维的通用数组。
typedef struct {
 DATA_UNSET;
 array *value;
} data_array;
之前看其他开源的代码,有种技巧是使用函数指针和二维数组来实现多态,不过我记得
不大清了,请高人指点完整写法。
比如:
typedef struct {
int (*init)(events *ev);
const char *description;
int num;
} event__t;
int call_back1(events *ev);
int call_back2(events *ev);
int call... 阅读全帖
I*****y
发帖数: 6402
22
呵呵, 我就是给你解释一下reload. 我和你一样,就装这些东西,还有ProFTPFD 和
lighttpd
n*****m
发帖数: 73
23
来自主题: StartUp版 - Nginx vs. Apache
How is lighttpd ?
I****7
发帖数: 47
24
来自主题: StartUp版 - Nginx vs. Apache
Youtube 用 lighttpd, 一般情况 web server 的确不是瓶颈。除非向youtube 这样的
有特殊要求。
一直在用 apache+tomcat, 总觉得 apache 多余, 看到有的大型网站只用 jetty。有
时过的吗?
g*****x
发帖数: 3283
25
图床当然是ipkg装个lighttpd方便了
e******x
发帖数: 925
26
来自主题: BuildingWeb版 - 有没有人在用 lighttpd
可能用的不多。因为很多web hosting provider都用apache.
h******y
发帖数: 173
27
来自主题: BuildingWeb版 - 有没有人在用 lighttpd
实在不错,暂一个。
b******y
发帖数: 9224
28
来自主题: BuildingWeb版 - 有没有人在用 lighttpd
俄罗斯的人写的。不错。
e***y
发帖数: 1152
29
来自主题: BuildingWeb版 - 在linux下建网站除了LAMP还有什么?
好像用一些轻型的web server也很多,例如lighttpd, nginx等。
j**********i
发帖数: 3758
30
“几个流行的高性能web服务器 lighttpd nginx haproxy varnish, 总结他们高性能的
源泉,原来是单进程, 单线程, event-driven架构, lockfree, context switch
free, 定制的memory管理。”
lockfree是好,银行就不能用,单进程, 单线程也不错,那服务器价格就是天价。“C
语言其实是非常灵活的语言,威力强大”,可是什么都能做。
nginx是快,可是不安全。
w*s
发帖数: 7227
31
【 以下文字转载自 Programming 讨论区 】
发信人: wds (净洗前尘,从头再来), 信区: Programming
标 题: CGI question: prefilled value in webpage
发信站: BBS 未名空间站 (Thu Feb 28 22:30:44 2013, 美东)
when login to a webpage, it'll popup window asking for username and password.
each time i have to type in them.
is there a way in CGI code (perl, python etc.) to prefill the username ?
like using cookie etc.
(the reason is user doesn't know username for existing products,
just password, don't ask me why.
but in the password file in lighttp... 阅读全帖
c********l
发帖数: 8138
32
发信人: coupondeal (Coupon Deal), 信区: Programming
标 题: 安装web.py小记
发信站: BBS 未名空间站 (Mon Mar 25 17:38:56 2013, 美东)
周末的时候在家里闲得无聊,于是想体验一把Python的web server。本来以为,无非是
手动地实现一个类似于WAMP的功能,应该花不了太长时间。但最后的事实是:各种问题
不断,插曲实在太多,花费了偶大半天的时间,于是把安装经验分享在网上,希望后来
人少走弯路。
web.py在安装之前,需要有几个dependency: web server, Python, CGI/WSGI module,
Database, Database driver/adaptor.
第一步:web server
web.py的官方页面上说既可以用LightTPD也可以用Apache,考虑到Apache更普遍,平时
也经常用Apache,于是决定使用Apache。在官网上找到Apache 2.4 for windows x64下
载,安装,设端口为4567,最后start。发现:在服务器本... 阅读全帖
a**********k
发帖数: 1953
33
来自主题: EmergingNetworking版 - 关于url access control的问题 (转载)
You can change the http server (apache or lighttpd)
config file to achieve this. If you want to automate that,
write a script.
a*****s
发帖数: 2663
34
cherokee, lighttpd, nginx etc
s*******s
发帖数: 1250
35
lighttpd, hiawatha, Cherokee
G*****h
发帖数: 33134
36
来自主题: Hardware版 - 地沟油架 web,lighthttpd 谁干过?
optware lighthttpd 很简单
http://www.webos-internals.org/wiki/Lighttpd
能不能仍然用 80 端口,但是跟本机的 web 管理界面不冲突?
一个内网一个外网?
不过把管理界面换个端口问题不大
地沟油这下太爽了
G*****h
发帖数: 33134
37
可以接打印机当打印服务器
可以接 USB 硬盘当慢速 nas
可以装 lighttpd 当小服务器
可以装 bt 软件脱机下载
G*****h
发帖数: 33134
38
装了 lighttpd,原来的webadmin 挪到了别的端口
80 给 lightttpd 用
在内网能访问
从外面连不过去
怎么回事?难道还有防火墙?这不需要开 port forwarding 吧
从外面连 ssh 是可以的
w****w
发帖数: 521
39
来自主题: Hardware版 - pogoplug 到底用多少电阿?
只开ssh,把root login关了,装上public key,应该挺安全的。
我现在装了samba,transmission,lighttpd,dokuwiki,webpy,lynx,git,都不错。
只有VPN/PPTP,老给我error 619,所以现在用text browser将就。还有一个是debian在
terminal里不能显示中文,arch没有这个问题。
t**d
发帖数: 6474
40
popolug装上lighttpd webserver 就可以用这个code。
z*********e
发帖数: 10149
41
谢谢lz分享
有个问题,我上传图片提交后出错,说500 internal error,查了lighttpd log发现是
2013-04-04 01:36:36: (mod_fastcgi.c.2701) FastCGI-stderr: PHP Fatal error:
Call to undefined function imagecreatetruecolor() in /var/www/photoserver/
upload_local.php on line 173
这是怎么回事, ty
C*****n
发帖数: 1049
42
来自主题: Hardware版 - pogoplug还能装什么好玩的服务?
上个月花了15块钱在ebay adorama买了个E02版本,买回来就直接改了boot loader先检
查优盘有没有操作系统可以启动。
然后在优盘上装了个debian wheezy,于是想看看这个家伙性能究竟怎样就把各种关于
网络的服务和软件都装上了。
像什么samba、minidlna、lighttpd、mysqld、php5、vsftpd、gitolite等等这些装上
稍加配置就能用。然后把imagemagick,gallery3装上看看它处理图片和电影的性能怎
样,感觉还行,当然处理大的照片自然是最慢的了。
过了两天觉得玩得不够尽兴又把postfix、dovecot、squirrelmail这些邮件服务都装上
,让它给我收发邮件,于是给家里的动态IP在freedns上搞了免费域名,设好MX记录,
家里的router装了optware后自动更新IP地址,这样就保证能收邮件了。至于发邮件,
由于ISP已经把家里这个动态IP的网段提交给PBL advisory block list了,有些收邮件
的smtp服务器只要采用了这个PBL就会退回邮件,而gmail等倒不退回,直接扔spam... 阅读全帖
t**d
发帖数: 6474
43
看你自己想干什么。我用神座干过的和正在干的:
局域网内nas
外网nas
自动备份
ssh server - 这个每天都在用,手机和公司电脑都走ssh通过家里网络上网。
webserver - lighttpd, 安装php
vpn (后来撤掉,不如地沟油上的vpn简单好用)
新闻抓取(抓取后滤掉广告,用它自己的webserver显示干净新闻)
电驴下载
w*x
发帖数: 3456
44
我怎么觉得apache2+php好卡,也就是lighttpd速度还能接受
a9
发帖数: 21638
45
不知道你装没装merlin,如果装的话,你可以试一下在路由上装个nginx,lighttpd什么
的,做反射代理,一个端口就行。

正也
w*s
发帖数: 7227
46
来自主题: Linux版 - anyone used lighttpd before ?
if i install and config it in embedded linux,
how to test it from a linux/windows host ?
S*A
发帖数: 7142
47
来自主题: Linux版 - anyone used lighttpd before ?
If your embedded linux online?
If yes, just load some static page and see
weather it display fine.
S*A
发帖数: 7142
48
来自主题: Linux版 - anyone used lighttpd before ?
127.0.0.1 is reserve for "localhost" ip address.
You need to have better understanding of networking
before you start to setup http server.
1 (共1页)