Results 1 to 4 of 4

Thread: Apache Proxy to hide ip in source code

  1. #1

    Default Apache Proxy to hide ip in source code

    I use proxypass and proxypassreverse to hide the ip in the source code of our video web pages...

    I am testing wowza to see if it will work for us.


    This works in apache.

    ProxyPass /webcams/webcam1/ http://xx.xx.xx.xx:81/
    ProxyPassReverse /webcams/webcam1/ http://xx.xx.xx.xx:81/

    When you browse to www.mydomain.com/WEBCAMS/WEBCAM1/ it redirects you http://xx.xx.xx.xx/ but the url in the address bar still shows www.mydomain.com/WEBCAMS/WEBCAM1/

    BUT when I put the proxy url into the embed code for jw player it does not work.

    Any tips?

    This works:

    <script type="text/javascript">
    jwplayer("player").setup({
    file: "rtmp://wowzaIP:1935/live/camera.stream",
    image: "/images/logo.gif",
    height: 720,
    width: 1280
    });
    </script>


    This does not work thought the same concept works with our other video system which uses java

    <script type="text/javascript">
    jwplayer("player").setup({
    file: "http://www.mydomain.com/proxy/live/camera.stream",
    image: "/images/logo.gif",
    height: 720,
    width: 1280
    });
    </script>



    Maybe the question should be. Is there a way to embed this video using http?
    That might make it work...
    The video is an rtsp stream from an IP camera.


    Thanks

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Good morning. Please do not post duplicates and triplicates

    Richard

  3. #3

    Default

    I made a reply to an old thread... I was not sure if anyone would even see it...
    So I made a brand new one.

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    No problem. Thanks. The forum is monitored

    Richard

Similar Threads

  1. Chat source code available ?
    By yarekc in forum General Forum
    Replies: 3
    Last Post: 08-28-2014, 04:14 PM
  2. MediaCache error / Local Apache forward proxy with SSL
    By ttocs28 in forum General Forum
    Replies: 2
    Last Post: 11-15-2013, 04:10 PM
  3. Source code for the LoadBalancerSender class?
    By videodoctor in forum Server-side Modules and Code Samples Discussion
    Replies: 1
    Last Post: 03-27-2012, 01:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •