You must have a solid white headlight visible for at least 500 feet.
Blinker lights don't count because (1) they're not solid (they blink) and (2) they're not white (they're either yellow/green or red).