1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Web Design' started by joe7dust, Jan 11, 2013.

  1. joe7dust

    joe7dust Newbie

    Joined:
    Jan 10, 2013
    Messages:
    19
    Likes Received:
    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: Jan 11, 2013
  2. BlueZero

    BlueZero Power Member

    Joined:
    Jul 6, 2011
    Messages:
    500
    Likes Received:
    257
    Occupation:
    Webdeveloper, Project Manager
    Location:
    Byte in the Net
    Home Page:
  3. joe7dust

    joe7dust Newbie

    Joined:
    Jan 10, 2013
    Messages:
    19
    Likes Received:
    0
    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?
     
  4. Grizzy

    Grizzy Senior Member

    Joined:
    Nov 11, 2008
    Messages:
    919
    Likes Received:
    999
    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.
     
  5. joe7dust

    joe7dust Newbie

    Joined:
    Jan 10, 2013
    Messages:
    19
    Likes Received:
    0
    Any idea how to get a linux server to open a web browser and view it, then restream it?
     
  6. joe7dust

    joe7dust Newbie

    Joined:
    Jan 10, 2013
    Messages:
    19
    Likes Received:
    0
    nobody knows?
     
  7. joe7dust

    joe7dust Newbie

    Joined:
    Jan 10, 2013
    Messages:
    19
    Likes Received:
    0
    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.
     
  8. necro

    necro Regular Member

    Joined:
    Dec 23, 2010
    Messages:
    292
    Likes Received:
    189
    Dont just frame it, check their source code, take the ads out, if it embeded then you are screwed :)
     
  9. cgimaster

    cgimaster Power Member

    Joined:
    Jun 30, 2012
    Messages:
    525
    Likes Received:
    311
    Gender:
    Male
    Or perhaps download the video source and edit to your needs