Yep, Jack Roberts and VaPredHunter answers are both correct.
Human Rabies
Q: How do people get rabies?
A: People usually get rabies from the bite of a rabid animal. It is also possible, but quite rare, that people may get rabies if infectious material from a rabid animal, such as saliva, gets directly into their eyes, nose, mouth, or a wound.
Q: Can I get rabies in any way other than an animal bite?
A: Non-bite exposures to rabies are very rare. Scratches, abrasions, open wounds, or mucous membranes contaminated with saliva or other potentially infectious material (such as brain tissue) from a rabid animal constitute non-bite exposures. Occasionally reports of non-bite exposure are such that postexposure prophylaxis is given.
Inhalation of aerosolized rabies virus is also a potential non-bite route of exposure, but other than laboratory workers, most people are unlikely to encounter an aerosol of rabies virus.
Other contact, such as petting a rabid animal or contact with the blood, urine or feces (e.g., guano) of a rabid animal, does not constitute an exposure and is not an indication for prophylaxis.
Q: What animals get rabies?
A: Any mammal can get rabies. The most common wild reservoirs of rabies are raccoons, skunks, bats, foxes, and coyotes. Domestic mammals can also get rabies. Cats, cattle, and dogs are the most frequently reported rabid domestic animals in the United States.
Questions and answers concerning Rabies, from the Centers for Disease Control and Prevention:
http://www.cdc.gov/ncidod/dvrd/rabies/Ques&Ans/q&a.htm