homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
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?

 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.


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="">
<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">



 7:27 am on Sep 11, 2013 (gmt 0)

Why should it be rewritten?


 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?


 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.


 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?


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