Instructables
video Handgun Rack
This would work well bolted inside a gun safe, but I have mine bolted to the wall studs in my workroom, so I can keep my pistols organized as a clean them after a class or a range trip.

This is a pretty easy project, and I think the stain really makes the rack look nice.