Hello,
I created a Laravel project, for this I installed redis and rabbitmq on docker, I set the path settings, the site is currently running, but I can't access the images, I get 403 error.
I found the solution: https://support.plesk.com/hc/en-us/...ink-not-allowed-or-link-target-not-accessible and I solved the problem as shown in the address at the moment, and it started to displaying images.
But at the now images cannot be displayed again and it gives 403 error.
I restarted with systemctl restart apache2 but that didn't help either.
I restarted VPS but that didn't help either..
Can you help me about this issue?
.htaccess
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
</IfModule>
RewriteEngine On
Options +FollowSymlinks
Options -SymLinksIfOwnerMatch
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
I created a Laravel project, for this I installed redis and rabbitmq on docker, I set the path settings, the site is currently running, but I can't access the images, I get 403 error.
I found the solution: https://support.plesk.com/hc/en-us/...ink-not-allowed-or-link-target-not-accessible and I solved the problem as shown in the address at the moment, and it started to displaying images.
But at the now images cannot be displayed again and it gives 403 error.
I restarted with systemctl restart apache2 but that didn't help either.
I restarted VPS but that didn't help either..
Can you help me about this issue?
.htaccess
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
</IfModule>
RewriteEngine On
Options +FollowSymlinks
Options -SymLinksIfOwnerMatch
# Handle Authorization Header
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
# Send Requests To Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>