Docker Community Forums

Share and learn in the Docker community.

httpd does not work ProxyPassMatch


(Alex) #1

I use the docker image httpd:latest
need to make a connection to the container of the image defconjuan/docker-php-5.2:latest
for this, as I understand it is necessary to register the directive PProxyPassMatch ^/(..php(/.)?)$ fcgi://php:9000/usr/local/apache2/htdocs/coolermen.ru/$1 in httpd.conf.
and for this, enable LoadModule proxy_module modules/mod_proxy.so
As soon as I turn it on, the container stops working and I just can’t understand what needs to be fixed.

root@debian:/docker/coolermen.ru# docker-compose ps
Name Command State Ports

httpd_app httpd-foreground Exit 1
mariadb_app docker-entrypoint.sh mysqld Up 0.0.0.0:3306->3306/tcp
nginx_app nginx -g daemon off; Up 0.0.0.0:80->80/tcp
php52_app /src/entrypoint.sh run Up 50022/tcp, 0.0.0.0:8083->80/tcp, 9000/tcp
phpmyadmin_app /run.sh supervisord -n -j … Up 0.0.0.0:8081->80/tcp, 9000/tcp
root@debian:/docker/coolermen.ru# docker-compose logs -f httpd
Attaching to httpd_app
httpd_app exited with code 1