Tag : apache

I have docker-compose.yml which looks like this. version: "3.6" services: php: build: ‘./php/’ ports: – 9000:9000 networks: – backend volumes: – .puppet_projectspnamepname:/var/www/html/pname apache_pname: build: ‘./apache/’ depends_on: – php ports: – "80:80" networks: – frontend – backend volumes: – .puppet_projectspnamepname:/var/www/html/pname networks: frontend: backend: And when I am starting docker-compose up project works properly but after changing ..

Read more

Apache not work after moving centos7 container to the new Kali Linux environment. Apache in centos7 container that worked in my old Kali Linux(2018) does not work at my new Kali Linux (2021.1). #new kali-linux Linux kali 5.10.0-kali7-amd64 #1 SMP Debian 5.10.28-1kali1 (2021-04-12) x86_64 GNU/Linux #centos container CentOS Linux release 7.5.1804 (Core) Since the systemctl ..

Read more

Anyone has seen this issue, httpd on docker will render local htdocs files correctly. But if I mount htdocs as volume / persisted volume, it downloads files (text, images, htmls ) instead of rendering. I tried this configuration too, but didn’t work: <Directory "/usr/local/apache2/htdocs"> EnableSendfile On </Directory> Please help! Thansk, Source: Docker..

Read more

Im facing issues getting apache2 to work within docker and to serve as a reverse proxy towards another docker container that is running a Python based API. My Dockerfile FROM httpd:latest COPY ./httpd.conf /usr/local/apache2/conf/httpd.conf EXPOSE 80 httpd.conf: Listen 80 <VirtualHost *:80> ProxyPreserveHost On ProxyPass / http://127.0.0.1:8000/ ProxyPassReverse / http://127.0.0.1:8000/ </VirtualHost> LoadModule headers_module modules/mod_headers.so LoadModule authn_file_module ..

Read more