• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Blocking external image Hotlinks

motowebmaster

New Pleskian
Trying to keep other sites from hotlinking to my site's images.

I've been working with the following in my vhost.conf file. If I remove the # signs on the respective four lines, run the reconfig psaadmin and restart apache, which will restart successfully - but none of my images will appear on my website:

Options +FollowSymlinks
RewriteEngine On
RewriteCond % !^$
RewriteCond % !^http://domainname.net/.*$ [NC]
RewriteCond % !^http://www.domainname.net/.*$ [NC]
RewriteRule \.(gif|jpg|jpeg|png|swf)$ - [F,NC]

Below is what SwSoft's Knowledgebase states to do in vhost.conf:

RewriteEngine on
RewriteCond % !^$
RewriteCond % !^http://(www\.)?MY_DOMAIN\.COM(/)?.*$ [NC]
RewriteRule \.(gif|jpg|jpeg|png|swf)$ - [NC,F]

Which I tried as well, with the same results. Initially I thought that making the lines less complex it would help - but no dice.

Any thoughts?
 
Back
Top