Forum Moderators: phranque
RewriteEngine on
RewriteCond %{HTTP_REFERER} .
RewriteCond %{HTTP_REFERER}!^http://(www\.)?yoursite\.com [NC]
RewriteRule \.(gif¦jpe?g)$ - [NC,F]
It works great, except that when I use PHP's "getimagesize" command in the script, the server is not allowed to access the image.
What RewriteCond do I add to ALLOW the server to access the files?
Many thanks in advance.