(CNN) - Fifteen people, including five women, were punished with public caning Friday for violating Sharia law in Indonesia's conservative Aceh province.

Two men accused of being gay received 87 lashes each for gay sex, while nine others were sentenced up to 26 lashes for adultery. Four people were caned for being drunk, including one woman who received 27 lashes.

Carried out after Friday prayers, the flogging was attended by hundreds of spectators, including children, outside the Baiturrahim Mosque in Banda Aceh, the provincial capital.

In video of the punishment seen by CNN, people can be heard jeering as the detainees, who are wearing white, traditional koko shirts, are brought up to the scaffold in front of the mosque.

Others took cellphone video of the punishment being administered by a hooded man while a voice counts the strokes over a loudspeaker. At one point a uniformed official appears to instruct the masked whipper where to land the blow.

Prior to the sentences being carried out, the detainees were given health checks and declared strong enough to undergo the punishment.

Earlier this year the governor of the province, Irwandi Yusuf, decreed that corporal sentences be carried out within the city's prison. However, the head of Banda Aceh's religious police, Muhammad Hidayat, said Friday's sentences were carried out publicly because of a lack of detailed instructions concerning the decree.

Irwandi was arrested earlier this month for alleged corruption, according to Indonesian state media. He denied the charge of misallocation of funds when questioned by reporters. "There is (a) graft charge. I did not ask and also did not receive," Irwandi said.

Strict Islamic laws

Unlike the rest of Indonesia, Aceh province follows strict Islamic laws, which make sexual activity outside marriage and same-sex relations illegal.The state's Sharia criminal code went into effect in September 2015. It is the only one of Indonesia's 34 provinces that can legally implement Sharia, according to rights advocacy group Human Rights Watch.

The two men whipped for homosexuality Friday aren't the first -- last May two men were lashed 83 times for the same offense.

The enforcement of Sharia in Aceh has "had a chilling effect on the basic rights to security and freedom of expression for Aceh's deeply marginalized LGBT community," according to a HRW report.

The HRW states that LGBT people in the state "live in a spiraling climate of fear ... (and) face ever-present harassment, arbitrary arrests and detention by Sharia (Islamic law) and municipal police, and threats of torture."

Muhammad Hidayat, the Sharia police chief, said that homosexuality was widely reviled in the deeply religious state, and that his police force would carry out the prosecution of violations of Sharia equally, without favoring officials.

Naturally none of these bigots recall the disaster that hit their Province so terribly in 2004 and how the world ran unstintingly to their aid. Nor that some of these volunteer helpers were probably gay. So it’s ok if gays provide help but not if they visit or live there.

Unfortunately Indonesia is not the only place where policies can be - well, to put it mildly - strange. I remember right here in Thailand, during the aftermath of the Phuket tsunami, many farang volunteers came to help, only to find themselves prohibited from helping. Why? Because they didn't have work permits.

Gaybutton wrote:I remember right here in Thailand, during the aftermath of the Phuket tsunami, many farang volunteers came to help, only to find themselves prohibited from helping. Why? Because they didn't have work permits.

I am sure you are correct in some cases. But in the immediate aftermath of the dreadful tsunami, Thaksin actually turned down the offer of overseas help. He said the Thais could manage their own problems!!

Captain Swing wrote:Maybe that's partly why the Australian doctors asked for diplomatic immunity before they would come.

Again, it may be. But I remember reading somewhere that the concern of the Australians was much more that one or more boys would die in the attempt to rescue them and some form of criminal charge might be brought against the doctors by the Thai authorities.

Captain Swing wrote:Maybe that's partly why the Australian doctors asked for diplomatic immunity before they would come.

Again, it may be. But I remember reading somewhere that the concern of the Australians was much more that one or more boys would die in the attempt to rescue them and some form of criminal charge might be brought against the doctors by the Thai authorities.

To be honest, my comment was mostly meant facetiously. But apparently in fact, the doctors' efforts were very difficult and stressful:

A doctor who was among nine Aussies honored for their roles in rescuing a youth soccer team and their coach from a Thai cave said he was most frightened by not knowing how much sedation to give the weakened boys.

“It was an estimate to start with and the first child was an experiment in a way and so it was a good guess with a lot of advice from a lot of other specialists,” anesthesiologist Richard Harris told reporters after a ceremony at Government House, where he and his dive buddy Dr. Craig Challen, a retired veterinarian, received the Star of Courage, the second-highest civilian bravery honor in Australia.