Thanks for your email, John.
I've a problem now.
My steps for vh n.1 (in /var/www/htdocs directly)
1- "ScriptAlias /cgi-bin/" commented out
2- /var/www/htdocs/cgi-bin created
3- cp from /var/www/cgi-bin/vqadmin to /var/www/htdocs/cgi-bin/vqadmin;
chmod/chown ok
4- in vh n.1 added
<Location /cgi-bin/>
Options +ExecCGI
</Location>
I've tryed too with
<Directory "/var/www/htdocs/cgi-bin">
AllowOverride None
Options +ExecCGI -Indexes
Order allow,deny
Allow from all
</Directory>
But nothing, I've always the same error: 500, Internal Server Error.
And in error_log:
Premature end of script headers: /var/www/htdocs/cgi-bin/vqadmin/vqadmin.cgi
Where is my mistake?
Thanks for patience and support
Regards
Andrea