Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl
Apache doesn't execute perl scripts
 

Index | Next | Previous | View Flat


m_aldemir at tilda

Nov 12, 2008, 5:01 AM


Views: 838
Permalink
Apache doesn't execute perl scripts

Hello,

I am running Apache 2 under a Debian server. I installed Awstats and
configured it as stated in its documentation. Perl is running, I could
update Awstats database from the console. I updated added the following
lines to my Apache configuration, and restarted it.

When I want to enter the www.domain.com/awstats/awstats.pl the browser
asks to download the file or open it in text editor.

Can you please help me point the problem out?

thanks,
Mustafa


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/

Subject User Time
Apache doesn't execute perl scripts m_aldemir at tilda Nov 12, 2008, 5:01 AM
    Re: Apache doesn't execute perl scripts adam.prime at utoronto Nov 12, 2008, 5:11 AM
        Re: Apache doesn't execute perl scripts m_aldemir at tilda Nov 12, 2008, 5:44 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.