In rare cases, the surgeon has to reroute the colon to the outside of the abdomen. This type of surgery is known as colostomy. This may be necessary:  If the diverticula have ruptured, spreading the infection to the abdomen.