A Fort Bragg soldier was sentenced Thursday to 50 years in a military prison for the 2009 rape of a woman on post.