Answer the question
In order to leave comments, you need to log in
How to enter the admin panel?
Hello, I need help.
I work with Yii2, docker, apache2
I have two folders in the root: public_html and core.
Public_html contains an index file, folders with styles and js scripts.
Also in this folder is the admin folder, it contains its own index file.
The essence of the problem: when working in OpenServer, when entering site / admin, the admin panel opens successfully, when deploying the docker when entering site / admin, the following picture:
.htaccess in both folders looks like this:
RewriteEngine On
RedirectMatch 404 /\.git
RedirectMatch 404 /composer
RedirectMatch 404 /.bowerrc
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question