Tie a bandanna over your head, pirate style, but fold the lower section over twice or so, so that there is an outer lip around your forehead. Put your helmet over this, or don't wear a helmet so the sweat will evaporate faster. This works fine for me; I sweat a *lot*.
(If you can wet the bandanna with cold water before putting it on - it's really nice.)