3.5nd dnd – Is there a way for a ranger to cast the Protection Against Evil spell?

I am working on a construction and am wondering if I can enter the Paladin Prestige earlier via Ranger. One of the requirements is the ability to launch protection against evilso I wondered if there was a way to get there. I guess that would involve adding it to the list of forest guard spells via an ACF or something like that.