npsari Posted April 27, 2008 Share Posted April 27, 2008 I think the usage of my server is high because some images are being linked from my site (even thought they are only couple of images) So, i asked my hosting company, and they said the following Apache usage does seem a bit high, you might want to mod_rewrite those image requests with [F] or use the leech protect script. Can anyone please tell me what does that mean What is 'F' and what is 'leech protect' Quote Link to comment https://forums.phpfreaks.com/topic/103124-apache-usage-is-high/ Share on other sites More sharing options...
apacheguy Posted May 11, 2008 Share Posted May 11, 2008 Well, you can do this for images: RewriteCond %{HTTP_REFERER} !^http://your-site.com.*$ [NC] RewriteRule \.(gif|jpg|png)$ http://url-to-redirect-requests[R,L] Quote Link to comment https://forums.phpfreaks.com/topic/103124-apache-usage-is-high/#findComment-538249 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.