Zdravim , v cgi normalne vubec nedelam ale chci si vyzkouset awstats a na to potrebuju rozchodit perl na apache 2, nastaveny se mi to zda v pohode:

ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/"

<Directory "/usr/local/apache2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
Sem nede cet ze tohle uz staci a melo by vsechno fungovat, ale nejde ,hlasi to tohle :
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, you@your.address and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
jeste kod:
#!/usr/bin/perl
##
## printenv -- demo CGI program which just prints its environment
##

print "Content-type: text/plain\n\n";
foreach $var (sort(keys(%ENV))) {
$val = $ENV{$var};
$val =~ s|\n|\\n|g;
$val =~ s|"|\\"|g;
print "${var}=\"${val}\"\n";
}
jeto nejakej standartni program co uz je v apachi. co tet ?