MSTAKE,
This is how I do it...
I use a front rest, be it a pedestal rest or just a carpeted V notch, and I support the barrel with the rest.
I will support the rear of the handgun with a bag BUT you only want a tiny portion of the front part of the bottom of the grip touching the bag. With the littlest recoil, the handgun will be off of the rear rest. If you support too much of the rear, your groups will either shoot high. If you are inconsistant in grip support, your groups will string out.
For big boomers, I'll rest my the rear most portion of my forearm, just before the elbow, on a half filled sand bag that is place upon a piece of carpet. It provides a soft rest that will move on the bench.