I've never read this before. Cool.
Taken from: http://www.hsop.org/rehab-puppymill.htm

3. Scotch Guard. Scotch Guard is really nothing more than a paraffin based protector. It puts a waxy substance down which repels water and spills (and in our case, urine). You can make your own product by filling a spray bottle about 1/2 full of hot water.

Shave off slivers of paraffin wax into the bottle (about 1/4 a bar should be fine) and then microwave until you don't see the slivers anymore. Shake and spray this onto the fabric areas you want to protect, such as the base of the sofa and the carpet below doorways or areas your dog is apt to mark. It may make the area stiff feeling at first but it will normally 'blend' in with normal household temperatures and humidity. (Note: This is also great for high traffic areas of your home or along the carpet in front of the couch).

With the use of vinegar and/or homemade scotch guard, you should test a small area of the fabric/fiber that you will be using the product on and make sure it does not discolor, stain, or bleed. I have never had any problems, but it is always best to check beforehand.