Rebels in Zawiya, a city just 50 kilometers from Tripoli, won control of some sections, marking the first significant clashes between loyalist and opposition forces since it was recaptured by Gaddafi's troops in March.