Apache 2.4.10 страница не отображается

Я не большой эксперт в Apache и столкнулся с конкретной проблемой. У меня есть 2 сервера, на первом я запускаю Debian 7.9 с Apache/2.2.22, на другом у меня Debian Apache/2.4.10. На обоих серверах одинаковая конфигурация Apache и установлен один и тот же dsc-statistics-presenter. Ниже conf

<VirtualHost *:80>
        ServerAdmin webmaster@localhost

        DocumentRoot /var/www
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride None
                Require all granted
#               Order allow,deny
#               allow from all
        </Directory>

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Require all granted
#               Order allow,deny
#               Allow from all
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

<VirtualHost *:8080>
       ServerAdmin webmaster@localhost
       DocumentRoot /opt/observium/html
       <Directory />
               Options FollowSymLinks
               AllowOverride None
       </Directory>
       <Directory /opt/observium/html/>
               Options Indexes FollowSymLinks MultiViews
               AllowOverride All
               Require all granted
#              Order allow,deny
#              allow from all
       </Directory>
       ErrorLog  ${APACHE_LOG_DIR}/error.log
       LogLevel warn
       CustomLog  ${APACHE_LOG_DIR}/access.log combined
       ServerSignature On
</VirtualHost>

Теперь, на сервере с Apache/2.2.22 я могу видеть grpahs (по ссылке localhost/cgi-bin/dsc-statistics/dsc-grapher). На сервере с Apache/2.4.10, если я использую эту ссылку, я могу видеть содержимое файла

#!/usr/bin/perl -w

use strict;
use warnings;
use CGI;

use DSC::grapher;
my $grapher = DSC::grapher->new;
$grapher->cgi(new CGI);
$grapher->run();

Не уверен, это проблема Apache или какой-то PERL lib. Есть подсказки?

0
15.07.2016, 04:45
0 ответов

Теги

Похожие вопросы