I have an application that is streaming video from a number of sources. I
am streaming one of the videos for a view using <img
src"https://192.x.x.x/cgi-bin/"> and it works when I am on the LAN.
However, when I am logging in remotely the image does not display because
the IP address is an internal IP.
I am trying to get the URL of the host so I can change my code to
{{=URL(args=request....}}
The issue I am having is the code return the URL/application name which
will not work for me.
Can anyone tell me how to get the URL and stop at the .com?
Thanks
Jason
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.