Ride 1 rank, Mounted Combat.
When you are mounted and use the charge action, you may move and attack as if with a standard charge and then move again (continuing the straight line of the charge). Your total movement for the round can’t exceed double your mounted speed. You and your mount do not provoke an attack of opportunity from the opponent that you attack.
A fighter may select Ride-By Attack as one of his fighter bonus feats.