Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

How to enable apache rewrite ? #39

Open
mysignisleo opened this issue Aug 14, 2019 · 1 comment
Open

How to enable apache rewrite ? #39

mysignisleo opened this issue Aug 14, 2019 · 1 comment

Comments

@mysignisleo
Copy link

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

@samundra
Copy link
Member

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants