Clerics and their cloistered cousins make great archers. Zen Archery brings you to relying only on Wisdom and Strength. The Elf Domain grants PBS as a feat and access to True Strike, the War Domain grants you Weapon Proficiency: Whatever Bow and Weapon Focus with it, or alternatively if you're considering DMM, Undeath or Planning can be nice. If you dip for your proficiencies or play an elf, you can do Elf and Planning Domains to get some of your feats out of the way. Otherwise Human is a good race and you can always dip a level into a class that grants bow/martial weapon proficiency.
For Prestige Classes, consider the Prestige Ranger so you can Persist some of their nice archery buffs. Eventually you'll want Hank's Bow. Yadda, yadda. Google.com might help you some, too. There's a lot of threads out there.