serve web page internally

16 views
Skip to first unread message

Rick Miles

unread,
Mar 31, 2014, 8:49:23 PM3/31/14
to mlu...@googlegroups.com
I don't know if this is possible nor what to key word on google, I
haven't found anything yet.

I want to serve a dynamic web page internally (lan only) by just
accessing a port. For example; by typing 192.168.1.3:[some_port_number]
a web page will open in the browser. Web page could either be generated
by a script on demand or be a static web page which is re-written every
x seconds or minutes on 192.168.1.3

Is this possible?

Gary Pope

unread,
Mar 31, 2014, 9:21:53 PM3/31/14
to mlu...@googlegroups.com

Rick
I do this for a guest webcam presently: http://gateway.alchester.com.au:456/
I can see the same thing internally as 192.168.xxx.xxx:456 on my LAN
So in this case I have an application (ie a webcam) but it could be a
webpage generator, that outputs on port 456.

Is that the idea? In my case the application outputs to a specific port
and is running on a known static IP: 192.168.xxx.xxx

Gaz

Rick Miles

unread,
Mar 31, 2014, 9:36:07 PM3/31/14
to mlu...@googlegroups.com
OK, I've been playing with minidlna and motion which broadcast on a port
nominated in their config file and I've been thinking that there would
be some program that was a "generic broadcaster" which I could then
configure to my requirement. Maybe there is maybe there isn't..........

but I've been looking at httpd and it seems to me that <VirtualHost>
might do this.

Listen 192.168.1.3:9091
<VirtualHost>
DocumentRoot ????
ServerName ????
</VirtualHost>

but if it can than what would I use for the document root and server name?





On 01/04/14 11:49, Rick Miles wrote:

Rick Miles

unread,
Mar 31, 2014, 9:42:37 PM3/31/14
to mlu...@googlegroups.com
Arghhhhh! you did a post whilst I was writing!!!!

I'm planning to build a small stevenson screen to set up in the back
yard. Original idea was to use motion on a pi to see hat the pup is up
to and also diplay temperature and humidity in the video stream from
motion. It turns out motion will only display date time etc and I can't
ad text from a second source. So my idea is to set up a dynamic web page
which updates tmp. an hum.periodically and is available just by typing
in ip:port_no. Maybe later figure out how to embed video on the webpage.

Rick Miles

unread,
Mar 31, 2014, 10:07:44 PM3/31/14
to mlu...@googlegroups.com
Didn't state it on previous post. Yes that's what I'd be doing but would
restrict it to local network.


On 01/04/14 12:21, Gary Pope wrote:
>

Rick Miles

unread,
Apr 1, 2014, 5:35:55 AM4/1/14
to mlu...@googlegroups.com
http://192.168.1.3:6001/  -->

It works!



A reasonable man should not attempt such things when he is home with the flu!!!!
Reply all
Reply to author
Forward
0 new messages