Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
By cadj at 2005-04-21 22:03
INTRO: UNIVERSAL ADD BLOCKER
This tutorial will explain how to replace those annoying banner ad's on webpages with a simple "Ad Blocked" message.
As far as i know this method will work with ALL web browsers, but i have only tested on Konqueror and Firefox.
This method is very easy to do, and can either take 2 or 5 steps, depending on if you want custom messages.
STEP ONE: CREATE YOUR .PAC FILE
STEP TWO: CONFIGURING YOUR FILE / BROWSER
(If you want "Ad Blocked" message)
STEP THREE: INSTALLING CONFIGURING THTTPD
STEP FOUR: RECONFIGURING YOUR PROXY.PAC SCRIPT
STEP FIVE: ITS ALL DONE!
Have you ever noticed "Use the following proxy configuration URL" in the proxy configuration of you browser?
It turns out that this URL is nothing that a very simple script file, often referred to a .PAC file (Proxy Auto
After looking around the net, i discovered that you could create your own .PAC file/add filters and redirect your
Using the idea of the Firefox adblock project, i decided to configure my .PAC file to redirect any requests for
STEP ONE: CREATE YOUR .PAC FILE
Create a file and call it PROXY.PAC in /home/user
Enter the following code
If the error message doesn't bother you, skip this step
Instead of our PROXY.PAC script sending requests thru a 0.0.0.0 (a location that doesn't exist), we will
configure our script to use a webserver we setup ourselves, with a custom error message, or none at all!
You may need to look elsewhere to install THTTPD, but as far as i know there are binaries available for many
Once THTTPD is installed / configured and started, we need to create a custom 404 error message, to do this, create
an "errors" directory in your web root (mine is in /var/www, so this is what i will use here)
in /var/www/errors, create a file called err404.html (not.htm, wont work) and add the following