Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

302
Views
How do i add mod headers to a docker container run by wp-env?

So when i run a

wp-env start

it just hangs and localhost:8888/ returns a 500 internal server error...

this is the output from the logs..

wordpress_1 | [Thu Jul 22 06:57:21.200917 2021] [core:alert] [pid 23] [client 172.25.0.1:56210] /var/www/html/.htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration wordpress_1 |

172.25.0.1 - [22/Jul/2021:06:57:21 +0000] "GET / HTTP/1.1" 500 801 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36" wordpress_1

[Thu Jul 22 06:57:21.237441 2021] [core:alert] [pid 19] [client 172.25.0.1:56208] /var/www/html/.htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost:8888/ wordpress_1 |

172.25.0.1 - - [22/Jul/2021:06:57:21 +0000] "GET /favicon.ico HTTP/1.1" 500 801 "http://localhost:8888/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"

I'm wondering where the dockerfile is in a wp-env docker image? And what should i input into dockerfile?

How do i add mod headers to apache in a wp-env docker container? Assuming that's the solution to my issue.

Sorry for the newbie question.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!