Preheat an oven to 350 degrees. In a small saucepan, mix together the sugar, water and vanilla bean and cook until golden brown. Add the rum, ginger, chiles, banana, passion fruit and mix well. Allow to cool then blend in a food processor. Strain and set aside. Place pineapple in a shallow baking dish and brush on glaze. Bake for 1 1/2 hours, basting every 15 to 20 minutes. Save the warm sauce in the baking dish for plating.