docker-php
docker-php copied to clipboard
How to enable apache rewrite ?
I have the .htaccess under the app folder .
But it's not working.
And i want to enter the container , but not working too.
docker exec -it container bash
@jerryjee you can create your own Dockerfile and then copy your .htaccess using command ADD or COPY
Here is https://github.com/samundra/tus-php/blob/feature/update-docker-setup/docker/server/Dockerfile#L6 which I am borrowing from one of project I am working on.
You have to figure out where you have to copy .htaccess
file. Usually, it's placed on Apache Document Root.