[yocto] To Enable webserver in Yocto

Benuvel GnanaKirubakaran, Jv. benuvelj at iwavesystems.com
Tue May 20 05:57:14 PDT 2014


Hi,

Have to enable webserver in Yocto. Hence, "httpserv -p 80 -t 5 &" was used
to start the service. But with the help of this command we aren't able to
access the complete filesystem of the respective machine connected in the
network from a remote system. It throws following data while accessing in
such a way:
######################################################################
GET / HTTP/1.1
Host: 192.168.2.21
Connection: keep-alive
Cache-Control: max-age=0
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Ubuntu Chromium/33.0.1750.152 Chrome/33.0.1750.152 Safari/537.36
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-GB,en;q=0.8,en-US;q=0.6,ta;q=0.4

EOF
######################################################################

Anticipating your assistance for solving the issue.
-- 
Regards,

Benuvel, Jv.







More information about the yocto mailing list