If it didn’t work for you, please note that the rewrite rule is to be exactly like this, not to adapt to your URL:
REWRITERULE ^(.*)$ HTTP://cyberpanel/$1 [P]