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

0 like 0 dislike
13 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}] 
asked by | 13 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.
answered 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
110,581 questions
257,150 answers
0 comments
476 users