Osclass Support Forums
Osclass plugin support => Progressive Web App (PWA) Plugin => Topic started 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
# 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
-
:( :( :(
-
Remove it and thats it, not osclass code
-
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
-
I think you can get more valuable response related to htaccess topic on different forums or i.e. stack overflow.