apache2.4 php7.0-fpm proxy_fcgi exec perl script

Alles, was den Apache betrifft, kann hier besprochen werden.

apache2.4 php7.0-fpm proxy_fcgi exec perl script

Postby schlaftaenzer » 04. June 2018 16:08

Hallo zusammen,

php Scripte werden über proxy_fcgi erfolgreich ausgeliefert, aber Perl Scripte werde plain Text im Browser ausgegeben. Warum wird Perl nicht richtig interpretiert. Ich bin hier leider mit meinem Latein am Ende. Wer kann unterstützen?

Zum Einsatz kommt:
Debian squeeze mit Apache2.4 und mod_proxy_fcgi sowie php7.0-fpm

Meine apache config:

Code: Select all
<VirtualHost 192.168.1.1:80>
        ServerAdmin webmaster@munin.home
        ServerName munin.home
        ServerAlias www.munin.home

        DocumentRoot /var/www/munin.home/html

        <Directory /var/www/munin.home/html>
                Options -Indexes +FollowSymLinks +MultiViews
                AddHandler perl-script .pl .cgi
                Require all granted
        </Directory>

        ScriptAlias "/munin-cgi/hello.pl" "/usr/lib/munin/cgi/hello.pl"

        <Location /munin-cgi/hello.pl>
                Options +ExecCGI
                SetHandler "proxy:fcgi://127.0.0.1:9000/"
                AddHandler cgi-script .pl .cgi
                Require all granted
        </Location>

        ScriptAlias "/munin-cgi/test.pl" "/usr/lib/munin/cgi/test.pl"

        <Location /munin-cgi/test.pl>
                Options +ExecCGI
                SetHandler "proxy:fcgi://127.0.0.1:9000/"
                AddHandler cgi-script .pl .cgi
                Require all granted
        </Location>

        ScriptAlias "/munin-cgi/" "/usr/lib/munin/cgi/"

        <Directory /munin-cgi/>
                Options +ExecCGI -Indexes +FollowSymLinks +MultiViews
                SetHandler "proxy:fcgi://127.0.0.1:9000/"
                AddHandler perl-script .pl .cgi
                Require all granted
        </Directory>

        ErrorLog /var/www/munin.home/log/error.log
        CustomLog /var/www/munin.home/log/access.log combined
</VirtualHost>
schlaftaenzer
 
Posts: 2
Joined: 04. June 2018 15:43
XAMPP version: 7.2.5
Operating System: Debian stretch

Re: apache2.4 php7.0-fpm proxy_fcgi exec perl script

Postby Nobbie » 04. June 2018 22:15

Welche Xampp Version?
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: apache2.4 php7.0-fpm proxy_fcgi exec perl script

Postby schlaftaenzer » 05. June 2018 00:52

Hi,

Lieder kein XAMPP. Hab kein anderes Forum gefunden ;)

Gruß
Jürgen
schlaftaenzer
 
Posts: 2
Joined: 04. June 2018 15:43
XAMPP version: 7.2.5
Operating System: Debian stretch


Return to Apache

Who is online

Users browsing this forum: No registered users and 25 guests