The attack occurred on the highway that serves as the main link between western Afghanistan and Kandahar .