to a php script with the HTTP_HOST and the REQUEST_URI.
I have tried this:
- Code: Select all
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteRule \.(png)$ http://domain.com/get.php?url=%{HTTP_HOST}%{REQUEST_URI} [NC]
But it dont work.
Can someone fix my code?
Thanks