1 cup white vinegar1 gallon hot water1/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.