An alliance of opposition forces has seized control of a second strategic city from government troops.