Docker The requested URL was not found on this server. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Docker The requested URL was not found on this server. (/showthread.php?tid=79220) |
Docker The requested URL was not found on this server. - jhonny - 05-14-2021 Hello. My boss bought an app that was made using CodeIgniter and he wants me to put this application in a Docker container. I created the Docker file and stuff but only the main page is available (http://localhost) if I try accessing something else I get this error "The requested URL was not found on this server." My folder structure looks like this: And those are my Dockerfile, docker-compose.yml, htaccess files: Code: FROM php:5.6-apache Code: php: Code: <IfModule mod_rewrite.c> Thanks. RE: Docker The requested URL was not found on this server. - richb201 - 05-14-2021 I have a CI app running in docker. I also have an Apache container and a php-fpm container in the same docker-compose. I think you will need to run a copy of Apache in docker. RE: Docker The requested URL was not found on this server. - iRedds - 05-14-2021 Your docker config works for me. How do you run docker-compose? |