U.S. officials and allies urge rebels to prevent the looting and revenge attacks that swept Baghdad after Hussein was overthrown, and to safeguard arms depots to keep weaponry secure from terrorists.

Reporting from Washington — The Obama administration scrambled Monday to ensure that the U.S.-backed rebels who appear on the brink of victory in Libya don't follow the grim path Iraq took eight years ago when jubilant celebrations in Baghdad gave way to wholesale chaos and bloody civil war.

With rebels still battling troops loyal to Moammar Kadafi in the heart of Tripoli, the capital, U.S. officials and allied governments pushed rebel leaders to prevent the type of widespread looting and revenge killings that swept Baghdad shortly after the U.S.-led invasion overthrew dictator Saddam Hussein in April 2003.

U.S. officials also urged the rebels to safeguard arms depots believed to contain aging stocks of chemical weapons agents, as well as shoulder-fired missiles, to keep them out of the hands of terrorists. Surveillance aircraft have monitored the sites, and U.S. intelligence officials have said they believe the weapons are secure or too old to be operational.

Amid conflicting reports on the strength of the rebel advances, President Obama and Secretary of State Hillary Rodham Clinton conferred by phone with officials from the Transitional National Council, the rebels' ruling body, as well as with some NATO and Arab allies involved in the air war that began in March.

Politically at least, Obama's supporters and even a few high-profile critics say the White House appears to have been vindicated by limiting America's direct role in the war, a policy that some critics have derided as "leading from behind."

"I was among those who were critical of the position of 'leading from behind,' " said L. Paul Bremer III, who ran the problem-plagued occupation of Iraq for President George W. Bush after the invasion there. But the outcome, he added, "should give the administration some degree of satisfaction. After all, it worked. Kadafi seems to be finished. There will be some regime change there."

Obama stopped short of declaring victory, noting that the situation in Tripoli remained fluid and Kadafi's armed forces still posed a threat.

Speaking to reporters from Martha's Vineyard, where he is on vacation with his family, Obama credited the North Atlantic Treaty Organization with helping to push Kadafi's regime to the edge of collapse, and he framed American involvement as a humanitarian intervention that saved lives.

He said U.S. officials would deliver humanitarian aid and work with the rebels to foster an "inclusive transition" once Kadafi was gone.

"We proved that you could have an international coalition that could help shoulder the burdens here, so it wasn't just on the United States," said Ben Rhodes, a White House deputy national security advisor. "We've done this in a way so that the Libyans themselves were the ones to bring about regime change, instead of the United States imposing it and owning it."

But the next steps are far from clear. The White House reaffirmed that it would not send troops to Libya, even in a peacekeeping role, and NATO officials gave no sign that they were prepared to field a peacekeeping force to help the rebels secure a nonviolent transition to a new national government, as many experts argue will be needed once Kadafi is ousted.

"Let's wait and see what's on [the rebels'] wish list," said Victoria Nuland, the chief State Department spokeswoman.

Although U.S. officials insist that they are committed to helping install a democratic government, Washington and its cash-strapped Western allies have limited resources and little appetite to become too deeply involved in Libya. Nor is it clear that the rebels would want outside help.

"The easy part is the rebellion," said Bruce Riedel, a former senior intelligence official and advisor to the Obama White House. "The hard part is governing the country."

NATO warplanes have carried out more than 4,700 combat sorties in Libya since mid-March, straining the alliance but apparently paving the way for a rebel victory. NATO officials said Monday that they were hopeful that Turkey or countries in Africa might agree to send troops to Libya if a peacekeeping force is needed once the fighting ends.

In a statement Monday, NATO Secretary-General Anders Fogh Rasmussen appeared to play down the possibility of a major role for NATO in a post-Kadafi Libya. "It is for the international community to assist them," he said.

Obama administration and NATO officials said they were keenly aware of the disastrous post-invasion Iraq experience and were determined not to repeat the mistakes made there.

Failure to secure hundreds of Iraqi ammunition dumps and arsenals proved lethal as insurgents and Al Qaeda supporters were able to seize enough weapons and high explosives to battle U.S. and Iraqi forces for years.