Halabja , 150 miles ( 240 kilometers ) northeast of Baghdad , was the site of a chemical weapons attack ordered by Saddam Hussein in 1988 as part of a scorched-earth campaign to crush a Kurdish rebellion .