I have a docker container based in the httpd official image. From nowhere (after a new build), it started failing with the error:
AH00534: httpd: Configurati
Much as the accepted solution works, it is less than ideal. The real reason you are getting this error is most likely the fact that your Dockerfile begins with the following line:
FROM httpd:latest
That latest
part, is you asking for the latest and greatest version of Apache.
Don't do that. This is your infrastructure. Lock it down to a version number.
Something like
FROM apache:2.4.0
This is the real answer. Not doing that risks your own codebase failing when third party software vendors update their code.
Get the latest version of httpd.conf
, and take a note of the version number, then tweak it with your changes, and get that :latest
the hell out of your Dockerfile.