Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I was having trouble finding the answer on youtube, google, or privoxy.org

Most tutorials end at getting privoxy installed and setup.

So I have everything installed and setup. Now I want to block www.apple.com/itunes/ using privoxy. I want to be able to access www.apple.com but do not want access to www.apple.com/itunes.

I am assuming I need to do something in the user.action file?

I'm fairly surprised I did not come across anyone with a similar question here on superuser. Seems like everyone is fine with privoxy's default add block settings.

TIA

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I hope you have windows. I recommend you download Notepad++ and then make a "Find" search "Find in Files" and specific the configuration files location of privoxy. Then you search for the following :

Blacklist

or

WhiteList

Then in the file that will conclude in the above search, you can add your URL ; try whitelist www.apple.com and blacklist block www.apple.com/itunes .

The reason we do the search as above, is to find the fine that has the URL block list. A text based search inside privoxy config files should reveal the file. The file contents should look like this :

######################################################

Blacklist

######################################################

{ +block }
www.apple.com/itunes

######################################################

Whitelist

######################################################

{ -block }
www.apple.com

share|improve this answer
    
nope. on ubuntu and had to create a blacklist.actions file but it works fine. ONE HUGE PROBLEM though. On the blocked page there is a link that gets you right past the block T_T "See why this block applies or go there anyway." that defeats the whole purpose T_T –  Joshua Robison Apr 29 '13 at 14:49
    
found it "enforce-blocks 1" set to '1' in the config file will turn the feature off...but still –  Joshua Robison Apr 29 '13 at 14:53
    
any chance you know how to configure privoxy to run on port 80 so that it runs without having to configure proxy settings? –  Joshua Robison Apr 30 '13 at 0:10
    
the only thing I found out is that privoxy is unable to do that and that you have to use and configure the packet filter (like PF or iptables). You set the accept-intercepted-requests to 1. "If you don't trust your clients and want to force them to use Privoxy, enable this option and configure your packet filter to redirect outgoing HTTP connections into Privoxy." Source : privoxy.org/user-manual but I am guessing you read that already.. –  cyberion1985 Apr 30 '13 at 8:39
    
Thank you. I'll look into that. –  Joshua Robison Apr 30 '13 at 11:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.