Misoprostol

Au
I have been prescribed misoprostol for my miscarriage; however my dr has prescribed it rectally. I've never read about it being used this way and it makes me a little nervous. Has anyone else been prescribed it this way, or just vaginally?