*

rooman

  • ****
  • 219 posts
Hello
I always find that the image path is blocked
The main reason for this is after searching the .htaccess file
I found the problem here
Code: [Select]
# END Cache-Control Headersphp_value opcache.enable 0

RewriteCond %{HTTP_REFERER} !^domain_name.*$ [NC]
RewriteCond %{HTTP_REFERER} !^domain_name$ [NC]
RewriteCond %{HTTP_REFERER} !^domain_name.*$ [NC]
RewriteCond %{HTTP_REFERER} !^domain_name$ [NC]
RewriteCond %{HTTP_REFERER} !^domain_name/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^domain_name$ [NC]
RewriteCond %{HTTP_REFERER} !^domain_name.*$ [NC]
RewriteCond %{HTTP_REFERER} !^domain_name$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp|webp)$ - [F,NC]

# php -- BEGIN cPanel-generated handler, do not edit
#Bu etki alanı, “PHP” paketini miras alır.
# php -- END cPanel-generated handler, do not edit
[/code]
What's wrong with that

*

rooman

  • ****
  • 219 posts
Re: 403 Forbidden Access to this resource on the server is denied!
« Reply #1 on: May 30, 2023, 05:24:17 PM »
 :( :( :(

*

MB Themes

Re: 403 Forbidden Access to this resource on the server is denied!
« Reply #2 on: May 30, 2023, 07:11:07 PM »
Remove it and thats it, not osclass code
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

rooman

  • ****
  • 219 posts
Re: 403 Forbidden Access to this resource on the server is denied!
« Reply #3 on: June 02, 2023, 01:17:54 PM »
Remove it and thats it, not osclass code
This is code responsible for the security of image links
Is there an alternative if it is removed?
Or can the code be modified?
that is my point

*

MB Themes

Re: 403 Forbidden Access to this resource on the server is denied!
« Reply #4 on: June 05, 2023, 10:21:33 AM »
I think you can get more valuable response related to htaccess topic on different forums or i.e. stack overflow.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots