Adam Prime wrote:
Mustafa Aldemir wrote:
AddType application/x-perl-httpd .pl
AddHandler perl-script .pl
LoadModule perl_module /usr/lib/apache2/modules/mod_perl.so
LoadModule cgi_module /usr/lib/apache2/modules/mod_cgi.so
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options FollowSymLinks +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
SetHandler perl-script
</Directory>
Alias /awstatsclasses "/usr/share/awstats/lib/"
Alias /awstats-icon/ "/usr/share/awstats/icon/"
Alias /awstatscss "/usr/share/doc/awstats/examples/css"
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
ScriptAlias /awstats/ /usr/lib/cgi-bin/
You need:
PerlHandler Apache::Registry
(or one of the other CGI emulators) in your directory section. take a
look at:
http://perl.apache.org/docs/1.0/guide/intro.html#toc_Apache__Registry
It looks like you're running mp1, so this response assumes that.
Adam
thanks it worked after pasting these lines in the virtualhost configuration