Make sure the wire that feeds the outside light is coming from the switch for the porch light, not the hallway light.
Wire the switch at theother end of the hallway the same (eg Red - L1, Blue - L2, COM - Yellow).
There should also be a red and black wire; these also go to L1 and L2 (doesn't matter which).
Adam
November 2009