Answer the question
In order to leave comments, you need to log in
Why is there a 404 error in Yii2?
Hello! Delivered yii2 the main page opens, the rest give out:
Not Found
The requested URL /auth was not found on this server.
Apache/2.4.7 (Ubuntu) Server at site.com Port 80
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName site.com
DocumentRoot /var/www/site.com/web
ErrorLog /var/www/site.com/logs/error.log
CustomLog /var/www/site.com/logs/access.log combined
<Directory /var/www/site.com/web >
Options Indexes FollowSymLinks Includes execCGI
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
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