Is there a web server on the BBB

106 views
Skip to first unread message

woody stanford

unread,
Feb 4, 2017, 12:52:36 AM2/4/17
to BeagleBoard
I notice something comes back on my port 80.

Is there a real web sever serving that page thats coming back, and if so, where is its htdocs directory (the filespec I mean)?

Greg

unread,
Feb 4, 2017, 2:11:31 PM2/4/17
to BeagleBoard
Take a look at:

/var/www/html

I've got an Apache2 server at (ipaddress):80.
But I don't remember if that was by default or I added Apache2 later.

Regards,
Greg

Peter Lawler

unread,
Feb 4, 2017, 6:12:43 PM2/4/17
to BeagleBoard
Probably the nodejs thing for bonescript. Can't recall where the pages are stored

On 4 Feb. 2017 16:52, "'woody stanford' via BeagleBoard" <beagl...@googlegroups.com> wrote:
I notice something comes back on my port 80.

Is there a real web sever serving that page thats coming back, and if so, where is its htdocs directory (the filespec I mean)?

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/8c857912-3d8c-4641-a06b-5cbee381305c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

woody stanford

unread,
Feb 8, 2017, 4:29:45 AM2/8/17
to BeagleBoard
An accessable htdocs location that you can serve html files from that will pop out on the BBBW's (Rev C) is at:

/usr/share/bone101/Support

Now we don't want to corrupt the web server setup that comes stock with Angstrom, so make a directory in this directory. Call it htdocs or maybe your name. It will have a funny URL but you can access it, giving you the ability to quickly serve static web pages from your BBBW. As far as I can tell there is an apache2 httpd running somewhere that is listening to port 80 on your BBBW and this is where it serves its web pages from (its structured a little funny, but still accessible). The URL would be:

http://192.158.7.2/bone101/support/<your directory>/<filename>.html

My next question is, is there existing a CGI-enabled directory similar to this that if I don't mind a funny URL that I can call some C programs from it. I just want to evaluate, and I'll do it the "right way" later.
 
Thoughts?

On Friday, February 3, 2017 at 10:52:36 PM UTC-7, woody stanford wrote:
Reply all
Reply to author
Forward
0 new messages