w*s 发帖数: 7227 | 1 if i install and config it in embedded linux,
how to test it from a linux/windows host ? | S*A 发帖数: 7142 | 2 If your embedded linux online?
If yes, just load some static page and see
weather it display fine.
【在 w*s 的大作中提到】 : if i install and config it in embedded linux, : how to test it from a linux/windows host ?
| w*s 发帖数: 7227 | 3 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 !
【在 S*A 的大作中提到】 : If your embedded linux online? : If yes, just load some static page and see : weather it display fine.
| S*A 发帖数: 7142 | 4 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.
【在 w*s 的大作中提到】 : 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/" {
| w*s 发帖数: 7227 | 5 兄弟,你就学一下印度人,手把手地教我一下吧。
只要最简单的work了,后边我就可以搞定了。
【在 S*A 的大作中提到】 : 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.
| b**r 发帖数: 352 | 6 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.
【在 w*s 的大作中提到】 : 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/" {
| w*s 发帖数: 7227 | 7 thanks, this is much more clear.
what the fxxk is the "remoteIp" from the man page ?
cannot they just put a little bit more words ?
challenging
【在 b**r 的大作中提到】 : 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.
|
|