This is a discussion on Creating a simple webserver application in embedded linux - Linux ; On Jul 25, 9:21 am, kracks wrote: > On Jul 24, 5:17 pm, dbansal wrote: > > > > > > > On Jul 23, 11:29 am, kracks wrote: > > > > On Jul 23, 10:15 am, dbansal wrote: ...
On Jul 25, 9:21 am, kracks
> On Jul 24, 5:17 pm, dbansal
> > On Jul 23, 11:29 am, kracks
> > > On Jul 23, 10:15 am, dbansal
> > > > On Jul 20, 4:31 pm, kracks
> > > > > Hi,
> > > > > I want to create a simple web application in Embedded Linux.
> > > > > I downloaded thttpd fromwww.acme.com
> > > > > I am not sure to create a simple application.
> > > > > If there is any website which says steps for creating simple
> > > > > webserver application for embedded linux suggest me.
> > > > > Suggest me steps to create simple webserver application for ARM.
> > > > > Regards,
> > > > > Kirthika
> > > > Hi Karthika,
> > > > I think you are not sure what you want and what you are trying to do.
> > > > so I suggest first you should decide yourself what exactly you want to
> > > > do.
> > > > Anyways let me just understand the problem. Is it like you have a box
> > > > and you want to access it through HTTP from some other PC? Or you want
> > > > to write an HTTP server for embedded Linux box? You need two things
> > > > first HTTP server which will be running on box and browser running on
> > > > PC. First make sure that your box is listening on port 80 (default)
> > > > using netstat. if it is not running you should whether your box has
> > > > HTTPD in it and find a way to run it. You can download httpd
> > > > application from Internet. Once box is listening for HTTP connection,
> > > > you can connect it from any machine.
> > > > Dinesh
> > > Hi,
> > > I am working with Webserver application development.
> > > I ported webserver to my target device which is thttpd(i
> > > downloaded from
> > > www.acme.com). thttpd is my server.
> > > I created a simple html page and i put in root file system of
> > > target device.
> > > I want to view my html page in my PC if i give
> > > address ort>
> > > I am not getting the page.
> > > I am not sure to link my html page with thttpd and to make it run
> > > in PC
> > > once i give IP address of target device.
> > > If i give thttpd -d
> > > Its not showing the web page in PC.
> > > How to make my web page which in target system to view in my PC once
> > > i give IP address of target device in PC side.
> > > Pls. suggest me.
> > > Regards,
> > > Kirthika
> > I think you have to put your HTML files in /usr/local/www/data
> > directory. By default your server will look for files in this
> > directory only. So try putting files in this directory if you have one
> > already or create new one. By the way, you can change this path to
> > some other in your configuration file (/usr/local/www/thttpd_config).- Hide quoted text -
> > - Show quoted text -
> I have thttpd as webserver in target device.
> So no problem. My confusion is cleared regarding http and thttpd.
> After creating a web page which in put in root file system of target
> device (In root
> file system i kept in usr/local/www/mywebpage.html or /www/
> After loading my ramdisk or root file system to target device i gave
> thttpd -d /usr/local/www/ -c "*"
> And when i view the current process using ps command its showing my
> thttpd -d /usr/local/www -c "*"
> I am not sure whether the binding of application with thtttp is
> correct or not.
> The above command only i used for binding.
> But somewhere the link between PC and target side thttpd is missing.
> Thats why target side is not responding to my PC request.
> After loading thttpd (which i downloaded fromwww.acme.com) to target
> device whether any configuration i have to do for adding my
> application other than binding with the above command.
> How to find out the fire wall in target side?
> Further i have another query. "www.acme.com" has default web page
> That should run know..(default)
is not working yet when i send
> request from PC side.
> How to find out where the problem is.
> Even i kept some simple web page in usr/local/www of target side.
> That also is not working.
> Help me in resolving..
> Kirthika- Hide quoted text -
> - Show quoted text -
Thanks a lot for helping me in porting webserver to target device.
I got my application working. Problem exists in binding my
application with thttpd.