http://www.xyz.com/detail.php?course=InDesign_CC

i want url http://www.xyz.com/detail/InDesign_CC using htaccess ......help me i try a lot but not get success.