linux server question about .htaccess and question about parsitic domain registration

joe7dust

Newbie
Joined
Jan 10, 2013
Messages
18
Reaction score
0
It's a linux server. I heard I can block access to my site by adding IPs to a file called .htaccess, essentially a blacklist. Will this work on a video embed? For example I want to embed a iframe video from a site where ad X has abusive methods so I use their IP in this file as a sort of single instance "adblock"... will this work?
 
Last edited:
Theres a streaming site i want to add their video embed. Its in iframe format. How can i block ads in their video? I know i could do this by watching the video on a Windows box with adblock in browser then re-stream it to another streaming site, but its a linux server and have no idea how i would set that up efficiently. So will advertiser IPs blocked in the .htaccess file work for the embedded video?
 
No.
Short explanation: if you embed a third party iframe on you website, same origin policy prevents you from accessing / modifying it in any way. The configuration of your web server has zero to do with it.
 
Any idea how to get a linux server to open a web browser and view it, then restream it?
 
I'm surprised there is no answer to this. Someone said to use Wowza media servers, but they don't have servers just software. I'm in the process of trying to get my provider to install the software, but after that I'm still not sure how I can strip the ads out in linux.
 
I'm surprised there is no answer to this. Someone said to use Wowza media servers, but they don't have servers just software. I'm in the process of trying to get my provider to install the software, but after that I'm still not sure how I can strip the ads out in linux.

Dont just frame it, check their source code, take the ads out, if it embeded then you are screwed :)
 
Or perhaps download the video source and edit to your needs
 
Back
Top