homepage Welcome to WebmasterWorld Guest from 54.145.183.126
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Rewrite ip of an activex object?
is it even possible?
kmax

10+ Year Member



 
Msg#: 4608692 posted 1:13 pm on Sep 10, 2013 (gmt 0)

Hello, does anyone know if it is even possible to REWRITE the parameter of an activex object in a web page?

See the ip in this code? I want to proxypass the ip in this object.
I know how to proxypassreverse a directory to an ip like this.

/video 55.55.55.55

But in this onject code if you replace the ip with /video the activex control wont work. It must have an ip in there.

Any idea how i can use mod_rewrite to change the ip in the activex object code?


<object classid="clsid:8D58D690-6B71-4ee8-85AD-006DB0287BF1" id="WebCam" width="320" height="240">
<param name="IpAddress" value="55.55.55.55">
<param name="DisablePWD" value="-1">
<param name="UserName" value="myuser">
<param name="Password" value="mypass">
<param name="CommandPort" value="4550">
<param name="DataPort" value="5550">
<param name="BandWidth" value="LAN">
<param name="FixSize" value="-1">
<param name="FixWidth" value="320">
<param name="FixHeight" value="240">
<param name="AutoLogin" value="0">
<param name="DefaultCam" value="1">
</object>

 

Kendo

5+ Year Member



 
Msg#: 4608692 posted 7:27 am on Sep 11, 2013 (gmt 0)

Why should it be rewritten?

lucy24

WebmasterWorld Senior Member lucy24 us a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



 
Msg#: 4608692 posted 8:47 am on Sep 11, 2013 (gmt 0)

Guess: To make the real IP invisible to the user, even if they snoop into the raw HTML. But if there's no IP upfront, how will the request know what server to go to?

phranque

WebmasterWorld Administrator phranque us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



 
Msg#: 4608692 posted 3:36 pm on Sep 11, 2013 (gmt 0)

mod_rewrite only applies to HTTP Requests and i'm guessing the embedded object isn't sending an HTTP Request to that IP address.

kmax

10+ Year Member



 
Msg#: 4608692 posted 10:41 pm on Sep 15, 2013 (gmt 0)

Thanks for the replies. I want to make the requests show up at the video server appearing to be from the ip of my web server... so i can allow ONLY that ip in the firewall there. This is to secure the video from the dvr.

Thats right. It is not sending an http request. It is using ports 4550 and 5550

Any way to rewrite non http?

thanks

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved