[CentOS] How to Stop the Image URL in apache

Mihamina Rakotomandimby mihamina.rakotomandimby at rktmb.org
Mon Jul 28 12:03:20 UTC 2014


On 07/28/2014 12:03 PM, Shital Sakhare wrote:
>
> RewriteEngine On
> Options -Indexes
> RewriteBase /
> RewriteCond %{HTTP_REFERER} !^%{HTTP_HOST}$ [NC]
> RewriteRule \.(swf|gif|png|jpg|doc|xls|pdf|html|htm|xlsx|docx)$  [R,L]
>

This can be worked arround very easy with wget:
http://www.askapache.com/linux/wget-header-trick.html

Look at the first "trick".




More information about the CentOS mailing list