in reply to Infamous "Premature end of script headers"
Well finally I solved it by disabling suexec for the concerned virtualhost. It is a Centos8/Virtualmin problem.
I will anyway follow your recommendations and have a look at mod_perl.
Thank you to all!