1 cup white vinegar 1 gallon hot water 1/2 teaspoon ammonia
Saturate a cloth in this mixture. Wring the cloth out, and scrub over carpet. Wipe up excess moisture with a dry cloth.