How to blocks links using hosts file? - Techist - Tech Forum

Go Back   Techist - Tech Forum > Techist Forum Information > New Member Introductions
Click Here to Login
Reply
 
Thread Tools Display Modes
 
Old 08-10-2014, 10:06 AM   #1 (permalink)
Virgin Techie
 
Join Date: Aug 2014
Location: USA
Posts: 0
Smile How to blocks links using hosts file?

Hello, I'm new here. I have to block a certain page and don't know how to do it.
I want to block a certain link(not the whole website) using hosts file. I know how to block a site but not a single page of the site.
For example: I don't want to block "youtube.com" but want to block this link: "youtube(dot)com/watch?v=ulyG94KsJpY"
__________________

Online1100 is offline   Reply With Quote
Old 08-10-2014, 05:28 PM   #2 (permalink)
 
iFargle's Avatar
 
Join Date: Jan 2009
Location: United States
Posts: 4,029
Default Re: How to blocks links using hosts file?

This looks decent:
website - Block specific URL on web browsers - Super User

Apparently you can't block specific URLs with the default Hosts file, so this will probably be a better solution.

EDIT: Errr sorry, meant to link to this.
http://www.privoxy.org/
iFargle is offline   Reply With Quote
Reply

Tags
block, hosts, youtube

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using sed to change hosts file into Dnsmasq config form Apokalipse Linux and Open Source 3 06-06-2010 03:09 AM
Swap Hosts Files Easily With Hosts Manager Osiris Tips, Tricks & Tutorials 0 12-27-2009 09:56 AM
free file hosts with-direct links... revenge2 Internet Software and Browsers 4 06-30-2007 11:46 PM
Finding hosts on subnet using nmap. syringe Computer Networking and Internet Hardware 1 03-13-2006 11:57 AM



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 02:43 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.