Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upNo matching DirectoryIndex / 403 Forbidden error #230
Comments
|
I'm afraid I'm having trouble reproducing this. What is the exact command you're using to start the container, please? I've just now successfully connected with
Accessing, of course, http://localhost:8090 and http://localhost:8091. |
|
I just checked my configuration again (from docker-compose), and the aspect which made it not work in 4.8 and 4.9 was me setting Not sure if this is the intentional behavior or not - it was certainly an unnecessary configuration on my part which led to the problem, but maybe setting a working directory should be ignored or used in the Apache config too, so everything is served from the defined working directory. This was my configuration for docker-compose which led to the problem: version: "3.7"
services:
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: phpmyadmin
tty: true
working_dir: /usr/src/app
ports:
- "8080:80"
networks:
- app-network
environment:
PMA_HOST: 'db_schema'
PMA_PORT: 3306
PMA_USER: 'user'
PMA_PASSWORD: 'password'
db_schema:
image: mysql/mysql-server:5.7
container_name: db_schema
environment:
MYSQL_ROOT_PASSWORD: 'whatever'
MYSQL_DATABASE: 'mytable'
MYSQL_USER: 'user'
MYSQL_PASSWORD: 'password'
networks:
- app-network
networks:
app-network:
driver: bridge |
|
@iquito so you solved the issue ? |
|
Yes, by not defining I did not close this issue because this seems unintended: either |

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

When using phpmyadmin/phpmyadmin:latest or phpmyadmin/phpmyadmin:4.9 or phpmyadmin/phpmyadmin:4.8 accessing phpmyadmin via browser is not possible - this is the output from the container with latest:
And in the browser a 403 Forbidden error appears, so at least index.php seems to be missing in /var/www/html/ or maybe that directory is not correct.
If I use phpmyadmin/phpmyadmin:4.7 everything works fine, so a recent change seems to have caused this.