Why do I get 403 error after re-deployment of the project?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
55 views
Made a re-deployment of the project, after which the site began to open with a 404 error, and any picture of the storage the link opens. And the site itself anymore. Even if you run site.ru/index.php or site.ru/robots.txt - he still doesn't see the file, what could be the reason?

.htaccess
Options-MultiViews RewriteEngine On # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301] # Handle Front Controller... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 
by | 55 views

1 Answer

0 like 0 dislike
As a variant: Try to go to the following address: site.ru/public. If the site is loaded, it means you have not correctly put the path to the root directory of the site.
by

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked May 2, 2019 by kat-vetal
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
27,849 users