Hello,
The following .htaccess file, which resides on the Sonic server, does not block hot-linking from an HTML file on my desktop.
When the same .htaccess file is on my local host, it works for blocking my local host from displaying jpg files with the “img” tag. This means that the problem must be with the Sonic server. Can anybody help with this problem?
Regards,
HubriSonics
The following .htaccess file, which resides on the Sonic server, does not block hot-linking from an HTML file on my desktop.
Code: Select all
Action php-cgi /cgi-bin/php55
AddHandler php-cgi .php
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?hubrisonics.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?duckduckgo.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?bing.com [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?yahoo.com [NC]
RewriteRule \.(jpg|jpeg|png|gif|m4a)$ - [NC,F,L]
</IfModule>
Regards,
HubriSonics