Osclass Support Forums

Osclass plugin support => Progressive Web App (PWA) Plugin => Topic started by: rooman on May 26, 2023, 12:54:25 PM

Title: 403 Forbidden Access to this resource on the server is denied!
Post by: rooman on May 26, 2023, 12:54:25 PM
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
Title: Re: 403 Forbidden Access to this resource on the server is denied!
Post by: rooman on May 30, 2023, 05:24:17 PM
 :( :( :(
Title: Re: 403 Forbidden Access to this resource on the server is denied!
Post by: MB Themes on May 30, 2023, 07:11:07 PM
Remove it and thats it, not osclass code
Title: Re: 403 Forbidden Access to this resource on the server is denied!
Post by: rooman 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
Title: Re: 403 Forbidden Access to this resource on the server is denied!
Post by: MB Themes 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.