Help - Search - Members - Calendar
Full Version: hot link protection not working
The Planet Forums > Control Panels > cPanel/WHM
DigiCrime
I use this for an upload script and allow specific domains to use this, otherwise my bandwidth and server gets some major rapage.

This is my htaccess file


QUOTE
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://ensim_stlhosting.com.stlhosting.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://ksfba.org/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://midwest_stlhosting.com.stlhosting.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mogmhp.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://mogmhp.com/forums/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://stlhosting.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://teamjackass.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://teamjackass.com/forums/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.ensim_stlhosting.com.stlhosting.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.ksfba.org/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.ksfba.org/forums/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.midwest_stlhosting.com.stlhosting.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mogmhp.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mogmhp.com/forums/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.stlhosting.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.teamjackass.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.teamjackass.com/forums/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.stlhosting.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.stlhosting.com/upload/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.stlhosting.com/upload/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://stlhosting.com/upload/.*$      [NC]
RewriteRule .*.(jpg|jpeg|gif|png|bmp)$ http://www.stlhosting.com/hotlink.html [R,NC]


ive tried every combination I can think of, with / and without the / and the domains I have allowed which listed above, still show a red X when it comes to the images.... what am I missing here
Richard Ward
Would you happen to have FrontPage enabled on that domain?
DigiCrime
yep I do, what I havent tried yet? Is yanking FP extensions and starting from there
jesse
In 7.19-x there was a problem with hotlinking, dunno if this is the same problem, but the problem I am speaking of is fixed in 7.20
DigiCrime
oh ok im still on 7.19
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.