vendredi 31 octobre 2014

Proxy error DNS lookup with Addhandler and pph-fpm56?

On a new domain (restore from an other server) I get a:




Quote:




Proxy Error



The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request GET /index.php.



Reason: DNS lookup failure for: php-fpm56.esther



Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.



A domain owned by ADMIN works fine. I checked the /usr/local/directadmin/data/users/esther/httpd.conf and I I found AddHandler "proxy:http://ift.tt/1tp6EzN; in the conf, as shown below. I guess this has to do be related because of the use of the exact string in the error : "php-fpm56.esther".




Quote:




ServerName www.niwik.nl

ServerAlias www.niwik.nl niwik.nl

ServerAdmin webmaster@niwik.nl

DocumentRoot /home/esther/domains/niwik.nl/public_html

SetEnv PHP_INI_SCAN_DIR /usr/local/directadmin/data/users/esther/php/

UseCanonicalName OFF

<IfModule !mod_ruid2.c>

SuexecUserGroup esther esther

</IfModule>

CustomLog /var/log/httpd/domains/niwik.nl.bytes bytes

CustomLog /var/log/httpd/domains/niwik.nl.log combined

ErrorLog /var/log/httpd/domains/niwik.nl.error.log

<FilesMatch "\.(inc|php|phtml|phps|php56)$">

AddHandler "proxy:http://ift.tt/1tp6EzN; .inc .php .phtml .php56

</FilesMatch>

<Directory /home/esther/domains/http://ift.tt/1tp6BUL;

AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,Includes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None

Options -ExecCGI

</Directory>




Is this a permission problem for rhis user (esther)?



Extra info CentOS 7, Apache 2.4.10, php 5.6.2 with fpm





Proxy error DNS lookup with Addhandler and pph-fpm56?

Aucun commentaire:

Enregistrer un commentaire