Help!

Creating a simple webserver application in embedded linux


Goto page Previous  1, 2
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> App Development RSS
Next:  User space driver now officially in kernel  
Author Message
kracks
External


Since: Jun 08, 2007
Posts: 33



PostPosted: Thu Jul 26, 2007 5:02 am    Post subject: Re: Creating a simple webserver application in embedded linux [Login to view extended thread Info.]
Archived from groups: comp>os>linux>development>apps (more info?)

On Jul 25, 9:21 am, kracks <kirthikai... DeleteThis @gmail.com> wrote:
> On Jul 24, 5:17 pm, dbansal <bansal... DeleteThis @gmail.com> wrote:
>
>
>
>
>
> > On Jul 23, 11:29 am, kracks <kirthikai... DeleteThis @gmail.com> wrote:
>
> > > On Jul 23, 10:15 am, dbansal <bansal... DeleteThis @gmail.com> wrote:
>
> > > > On Jul 20, 4:31 pm, kracks <kirthikai... DeleteThis @gmail.com> wrote:
>
> > > > > 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 <board ip
> > > address :port>
> > > 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 <test.html>
> > > 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 -
>
> Hi,
> 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/
> mywebpage.html
> 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
> process
> 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
> "index.html
> That should run know..(default)
>
> telnet <board ip address, port no> 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..
>
> Regards
> Kirthika- Hide quoted text -
>
> - Show quoted text -

Hi,

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.

Thanks



Regards,
Kirthika
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> App Development All times are: Eastern Time (US & Canada) (change)
Goto page Previous  1, 2
Page 2 of 2

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum