Disobeying and doing something you belive is right even though it isn't legal. Comes from the Clash song of the same name, which was about playing rock music even though it was banned by the Ayatollah

Also, this was the first rock song played in Iran in ten years after the Shah was removed from his trone. It was played by on the American Army radio and became an anthem for the army during the first Gulf War.
"The shareef dont like it
Rockin the casbah
Rock the casbah"
by Toottootoot December 10, 2006
The Clash song also makes references to the cordoned off Arab areas of European colonial holdings. Rock the Casbah has been said to be a reference to the anti-imperialist movements in colonial nations as well as the banning of music in Persian and Arab nations.
Rock the Casbah = The Casbah in Algiers during the time that France occupied Algeria.
by Battle of the Algiers October 2, 2009
A song created by the Clash that has multiple meaning when looking at the song. Only reason the 2 guys definitions before this probalbly got it from "The Simpsons."
The shareef don't like it
Rockin' the Casbah
Rock the Casbah
The shareef don't like it
Rockin' the Casbah
Rock the Casbah

By order of the prophet
We ban that boogie sound
Degenerate the faithful
With that crazy Casbah sound
But the Bedouin they brought out
The electric camel drum
The local guitar picker
Got his guitar picking thumb
As soon as the shareef
Had cleared the square
They began to wail
by Anonymous October 2, 2003
In response to Iran's Ayatollah Ruhollah Khomeini (24 September 1902 – 3 June 1989) banning all music from Iranian radio and television in July 1979, the British band The Clash made this song as their protest against it. Ayatollah Ruhollah Khomeini is of the islam religion, which dictates to its muslim followers intense hatred to all infidels (aka nonbelievers).
The Clash did in-fact Rock the Casbah to islam's disapproval.
by therealizer June 17, 2018
Now the king told the boogie men
"You have to let that raga drop"
The oil down the desert way
Has been shakin' to the top
The Sheik he drove his Cadillac
He went a-cruisin' down the ville
The Muezzin was a-standin'
On the radiator grille

The Shareef don't like it
Rock the Casbah, rock the Casbah
The Shareef don't like it
Rock the Casbah, rock the Casbah

By order of the prophet
We ban that boogie sound
Degenerate the faithful
With that crazy Casbah sound
But the Bedouin they brought out the electric camel drum
The local guitar picker got his guitar-pickin' thumb
As soon as the Shareef had cleared the square
They began to wail

The Shareef don't like it
Rock the Casbah, rock the Casbah
The Shareef don't like it
Rock the Casbah, rock the Casbah

Now, over at the temple
Oh, they really pack 'em in
The in-crowd say it's cool
To dig this chanting thing
But as the wind changed direction
And the temple band took five
The crowd caught a whiff
Of that crazy Casbah jive

The Shareef don't like it
Rock the Casbah, rock the Casbah
The Shareef don't like it
Rock the Casbah, rock the Casbah
The king called up his jet fighters
"He said you better earn your pay
Drop your bombs between the minarets
Down the Casbah way"
As soon as the Shareef was chauffeured outta there
The jet pilots tuned to the cockpit radio blare
As soon as the Shareef was outta their hair
The jet pilots wailed

The Shareef don't like it
Rock the Casbah, rock the Casbah
The Shareef don't like it
Rock the Casbah, rock the Casbah

The Shareef don't like it, he thinks it's not kosher
Rock the Casbah, rock the Casbah
The Shareef don't like it, fundamentally can't take it
Rock the Casbah, Rock the Casbah

The Shareef don't like it, you know he really hates it
Rock the Casbah, rock the Casbah
The Shareef don't like it, really, really hates it
by Zatarain’s Root Beer Drinker December 10, 2020
it means to "rock the house" casbah= SYLLABICATION: Cas?bah
VARIANT FORMS: also Kas?bah
NOUN: 1. A castle or palace in northern Africa.
2.The older section of a city in northern Africa or the Middle East.
by MinnieM May 1, 2004
"Man, me and her ROCKED THE CASBAH all fuckin' night!"
by marklar August 18, 2003