|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
Okay i'll make this post quick and to the point... The URL to an image that is an attachements or in an albums are displayed as http://url.com/attachement.php?attachmentid=xxx or http://url.com/albums.php?albumid=xxx So therefore using the classic .htaccess: Code: RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://(.+\.)?mysite\.com/ [NC] RewriteCond %{HTTP_REFERER} !^$ RewriteRule .*\.(jpe?g|gif|bmp|png)$ http://img249.imageshack.us/img249/2806/hotlink.gif [L] doesn't work as it only blocks those specified extentions (eg. .png) and therefore wont effect an image that is at http://url.com/attachement.php?attachmentid=xxx There's gotta be something I can do in .htaccess or elsewhere, hopefully without using a mod? I like keeping my software as clean as possible and use as few mods as necessary rather than clutter things up (which is pretty hard at the moment given the current functionability of the CMS - which is another point so i'll leave it at that). Can anyone help me out? Also I think this officially serves as some sort of feature request to add a hotlinking option to the admincp. Thanks ![]() PS. It forced me to choose a prefix __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |