I'm okay sending that person away for 30 years. Because that's effectively what they tried to do to someone else
In most jurisdictions except in middle east, law does a lot less to the criminal than the criminal did to his victim. One murder rarely gets a death sentences - in most of Europe and about half the US, a million murders may not get a death sentence because they have simply done away with the concept. Though cruelly incarcerating someone for a month might get years worth of prison - but that is because many prisons are forbidden to execute "cruel and unusual punishment", or "torture", worded and interpreted differently in different places.
The sword of justice must cut both ways.
Once a rape accusation fails to stick, the ex-accused can typically sue for slander if they have a case. The other things you want to "punish" are already crimes - staging the whole thing, perjury, falsifying evidence. What new are you looking for?
Just the accusation failing to stick clearly doesn't deserve much punishment for the accuser, as probably you also agree, because it doesn't prove staging the whole thing, perjury, falsifying evidence etc.
You are describing the world as it is, but disguised as "that should be done".