Welcome to WebmasterWorld Guest from 54.146.201.80

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Rewrite ip of an activex object?

is it even possible?

     
1:13 pm on Sep 10, 2013 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 8, 2004
posts: 41
votes: 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>
7:27 am on Sept 11, 2013 (gmt 0)

Preferred Member

10+ Year Member Top Contributors Of The Month

joined:May 27, 2005
posts:428
votes: 3


Why should it be rewritten?
8:47 am on Sept 11, 2013 (gmt 0)

Senior Member from US 

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

joined:Apr 9, 2011
posts:12716
votes: 244


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?
3:36 pm on Sept 11, 2013 (gmt 0)

Administrator

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

joined:Aug 10, 2004
posts:10544
votes: 8


mod_rewrite only applies to HTTP Requests and i'm guessing the embedded object isn't sending an HTTP Request to that IP address.
10:41 pm on Sept 15, 2013 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 8, 2004
posts: 41
votes: 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
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members