I executed the script as a cgi. It works.
Initialy I tryed like this, because I wanted a diffrent executable on
each virtual domain:
AddType application/x-httpd-perl .pl
...
User test
Group test
ScriptAlias /test.rocgibin /var/www/test.ro/cgibin
Action application/x-httpd-perl /test.rocgibin/p
I configured apache suexec with php.
Now I want to do the same with apache suexec and perl, but I get a
"Premature end of script headers".
This is the only error in the logs.
It a make su with the user of the virtual domain, I can execute
succesfuly the perl program(and the result is a html pa