VirtualHost on Apache 2.4 with PHP-FPM Getting proxy_fcgi:error -
i trying make virtualhost wordpress project that's being hosted on ec2 instance apache 2.4 php-fpm. of resources being loaded (mostly scripts , other php) getting 404 error , when in error log virtual host, following errors
[tue mar 17 01:01:56.026492 2015] [proxy_fcgi:error] [pid 3382] (22)invalid argument: [client 173.79.19.155:61617] ah01075: error dispatching request : (passing brigade output filters), referer: http://52.21.23.15/project/ [tue mar 17 01:01:56.816915 2015] [proxy_fcgi:error] [pid 2895] [client 173.79.19.155:61618] ah01068: got bogus version 116, referer: http://52.21.23.15/project/
below virtual host portion of conf
<virtualhost *:80> servername project.com serveralias www.project.com documentroot /var/www/html/project proxypassmatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/html/project/$1 <directory /var/www/html/project> options indexes followsymlinks allowoverride require granted </directory> errorlog /var/www/html/project/logs/error.log </virtualhost>
and below address portion of php-fpm configuration.
; address on accept fastcgi requests. ; valid syntaxes are: ; 'ip.add.re.ss:port' - listen on tcp socket specific address on ; specific port; ; 'port' - listen on tcp socket addresses on ; specific port; ; '/path/to/unix/socket' - listen on unix socket. ; note: value mandatory. listen = 127.0.0.1:9000
please help! have looked everywhere , can not find solution. allowing traffic ports ec2, tried kinds of combinations different apache directives, , tried add js|html , stuff proxypassmatch.
what causing this? appreciated.
Comments
Post a Comment