2012年5月8日 星期二

[lighttpd][Embedded System] Enable lighttpd server && fix web page


In san board

Start lighttpd server and put it into the background use "&".

/fss/gw/sbin/lighttpd -D -f /fss/gw/etc/lighttpd.conf &

Change IP address

ifconfig lan0 0.0.0.0

ifconfig eth0 192.168.100.1



Change web server page at /var/tmp/

Two script

1. cp www page from  fss to /var/tmp

2. lighttpd.conf point to /var/tmp (  server.document-root        = "/var/tmp/www/"  )

Related Posts:

0 意見:

張貼留言