Shopware5 RestAPI mod_fastcgi

Till

Administrator
mod_fastcgi ist das standard Modul in ISPConfig für den php-fpm Modus, dasw ird im Debian 8 perfect server installiert und aktiviert. wenn php im fcgi mode läuft, versuch mal auf php-fpm umzuschalten.
 

Till

Administrator
Vermutlich liegt es daran dass er diese Option "-pass-header Authorization" zusätzlich in der
FastCgiExternalServer Zeile haben will. Du kannst die ja ,al testweise im von ispconfig erzeugten vhost einbauen und dann apache neu starten.
 

Le-Seaw

Member
<IfModule mod_fastcgi.c>
<Directory /var/www/clients/client1/web1/cgi-bin>
Require all granted
</Directory>
<Directory /var/www/xxx.de/web>
<FilesMatch "\.php[345]?$">
SetHandler php5-fcgi
</FilesMatch>
</Directory>
<Directory /var/www/clients/client1/web1/web>
<FilesMatch "\.php[345]?$">
SetHandler php5-fcgi
</FilesMatch>
</Directory>
Action php5-fcgi /php5-fcgi
Alias /php5-fcgi /var/www/clients/client1/web1/cgi-bin/php5-fcgi-*-80-xxx.de
FastCgiExternalServer /var/www/clients/client1/web1/cgi-bin/php5-fcgi-*-80-xxx.de -idle-timeout 300 -socket /var/lib/php5-fpm/web1.sock -pass-header Authorization
</IfModule>
 

Werbung

Top