skip to Main Content

Apache times out when starting and I cannot find any help from error logs

I am running (trying to) apache 2.4 on Rocky Linux 9.3. Here is my httpd.conf file. LoadModule authz_core_module /usr/lib64/httpd/modules/mod_authz_core.so LoadModule wsgi_module /usr/lib64/httpd/modules/mod_wsgi_python3.so LoadModule log_config_module /usr/lib64/httpd/modules/mod_log_config.so LoadModule access_compat_module /usr/lib64/httpd/modules/mod_access_compat.so LoadModule actions_module /usr/lib64/httpd/modules/mod_actions.so LoadModule alias_module /usr/lib64/httpd/modules/mod_alias.so LoadModule allowmethods_module /usr/lib64/httpd/modules/mod_allowmethods.so LoadModule auth_basic_module /usr/lib64/httpd/modules/mod_auth_basic.so…

VIEW QUESTION

How should I mount a host httpd.conf file into an Apache httpd Docker container?

I'm spinning up a docker container using: docker run -d --add-host=host.docker.internal:host-gateway --name=apache --restart always -e PUID=1000 -e PGID=1000 -e TZ=Europe/London -p 80:80 -v /share/CACHEDEV1_DATA/Container/apache/config/httpd.conf:/usr/local/apache2/conf/httpd.conf -v /share/CACHEDEV1_DATA/Container/apache/config/httpd-vhosts.conf:/usr/local/apache2/conf/extra/httpd-vhosts.conf httpd:latest Unfortunately, the httpd.conf file within the container does not match the local file…

VIEW QUESTION
Back To Top
Search