Enable Hotlinking
Aug 5, 2007
I moved my website from one server to another just today and my site has a rank on another website. The ranking site lets me display my rank on my website through a hotlink to their site. When I moved my site to the new server, I can't see the image. On the old server, I could always see the image.
This is a strange issue since in Firefox, I see the image load and then it tells me the image is empty. But when I open the image's URL, I can see it just fine. I've reloaded the page over and over again, but I don't get anything. The same applies to IE.
What's even more strange is when I use a proxy, I can see the image just fine through my browser.
View 4 Replies
ADVERTISEMENT
May 15, 2007
I've tried a couple of different apps and solutions re hotlinking and IIS w/out finding a real winner. Hoping folks may have some recommendations re apps and/or solutions for dealing w/ hotlinking and IIS 6.
View 0 Replies
View Related
Apr 25, 2005
I am using godaddy hosting, but there is a problem - godaddy allows picture hotlinking by default. So i am loosing a lot of bandwidth.
How can i block this? I have never used .htaccess and don't know how to do it.
View 8 Replies
View Related
Nov 8, 2009
I have found some spammer hotlinking to my images to get his site crawled, I have modified the .htaccess to attempt and serve his hotlinking domain with a warning but it does not work...
My actual .htaccess file is the one below (it was created by wordpress automatically):
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
I am adding these lines right below:
--------------------------------
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://(.+.)?spammerdomain.com/ [NC,OR]
RewriteRule .*.(jpe?g|gif|bmp|png)$ /images/nohotlink.jpe [L]
------------------------------------
My questions...
I dont kmow too much what I am doing, following the tutorial here, http://altlab.com/htaccess_tutorial.html but the problem is that my .htacces already contains something created by wordpress that to me looks like garbage as I don't understand the meaning.
I dont know if I should add the lines inside the <IfModule mod_write.c> or outside them as I have done.
I dont know if it is ok to have two times Rewrite Engine On
PS: When I added the lines I describe above, my site also stopped displaying the images, I had stopped everyone including myself from hotlinking them. I only want to stop certain domain. or even better, my ideal solution is to WHITELIST my domain names (I have two using hotlinkg to those images), but I will settle for blacklist if it is easier.
View 9 Replies
View Related
May 15, 2009
I am looking for a content delivery network that will only serve files to a list of allowed hosts. This is such a basic "doh" feature, but nobody seems to have it (Mosso CloudFiles doesn't have it, and even Amazon S3 has no easy-to-use hotlink protection). Has anyone found such a CDN?
View 10 Replies
View Related
Jul 19, 2009
Is there a way to stop hotlinking? I have a client who has a blog. They have post pics of tattoos. Now there are at least 50 tattoo forums, blogs and other sites hotling to the pics. Now his bandwidth usage has skyrocketed. So enable hotlink protection in his cPanel. Just did a redirect to my main hosting site with a nice please stop hotlink image. Now I see all this in my logs. So I then made a 150 x 9000 clear BG gf with the text at the top please stop hotlinking.
My questions is there any way to stop it. If not should I just make a 1x1 clear gif to redirect to? Also is there a way to not have this traffic show in my log files?
View 4 Replies
View Related
Aug 15, 2008
I'm facing some issues with hotlinking here. the htaccess do not work because users can still use their download manager to download the file without going to my site.
I've seen few sites that got tempoary url that changes every X times and that support download manager.
View 4 Replies
View Related
Feb 15, 2009
I am a graphic designer/photographer who creates designs for music artists, producers etc. on Myspace (I know, I know). This obviously involves lots of hotlinking, and that is why I am here.
I provide customers with hosting for their layouts so that they don't have to go out and search for one. I am currently hosting the images on a friends private server, but it's fairly slow and I want something more reliable. One layout usually has around 20 different images (background, headers, banners, etc) and I try to make sure it comes out to a little under 1MB, so I don't need to worry that much about disk space. I'd say bandwidth might be the only issue if anything.
I enjoy the work but it's mostly a side business and doesn't create much revenue, so I'm trying to go for around or under $10 a month. That said, I also want to make sure things are fast enough for the visitors and am willing to up the budget if required. I was going to go with 1and1 or Hostgator but heard alot about overselling.
View 12 Replies
View Related
Jun 24, 2008
I have a lot of movie clips on my server i think gets hotlinked. Does anyone knows of a good anti hotlinking movie script?
View 4 Replies
View Related
Sep 15, 2007
The images I am trying to block are on page generated by a simple PHP script on my server. The offender has replicated what I am doing with ASP on their server. They are hotlinking to my images for the resulting page. They left my website's name on them, so they must think that giving credit is enough.
I'm going to be contacting them to stop but I also want to see if there is a way for me to prevent it from happening in the first place.
I tried mod_rewrite...
Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^[url].*$ [NC]
RewriteRule .(gif|jpg)$ - [F]
I know mod_rewrite works on my server because I've been using it for some other things.
However, whenever I enable the above code (add it to the directives and restart apache - have also tried just putting it in a .htaccess file in the appropriate directory), I end up with images still being allowed on my domain and the other domain I'm trying to stop from using my images. Do you think it could have to do with an absent referrer? I read that the code doesn't work if the referrer is blank. What else would cause this not to work? Obviously the domain would have to be correct, but it doesn't block from my domain OR the offending domain.
I tried another method:
Code:
<FilesMatch ".(gif¦jpg¦png)$">
SetEnvIfNoCase Referer ^$ allow_image
SetEnvIfNoCase Referer ^[url] allow_image
Order Deny,Allow
Deny from all
Allow from env=allow_image
</FilesMatch>
This one blocked images to the offending domain, but it also blocked mine!
View 3 Replies
View Related
Jan 6, 2007
I have came across site in my statistics that apperantly runs with about 99% of my content flash files. He put adsense all around them, too - sneaky.
I know it is possible to disable hotlinking from other sites using htaccess, but is it possible to disable hotlinking for ONE site? I need to block .swf that come from example.com domain.
View 0 Replies
View Related
May 5, 2008
im currently looking for a mod that can cloak the real url adress to prevent hotlinking and havetempoary links which expires after x min and a new linkupdates
View 2 Replies
View Related
Jul 5, 2009
I want to enable mbstring. I googled and found --enable-mbstring is the key to turning it on but I don't know where to put this. In the php.ini?
View 14 Replies
View Related
Jan 11, 2009
i got hosting with cPanel Control panel i have some problem with this hosting because its "register_globals" disabled , i need to enable the "register_globals" on my hosting ,
View 10 Replies
View Related
Dec 6, 2007
I would like to ask whether should we use/enable the clamAV service on our VPS? I have read from several article, it said that ClamAV is pretty hungry on CPU/Memory resources.
I would like to know, do you use/enable the clamAV on your VPS? Or even don't have it installed on your VPS?
View 5 Replies
View Related
Jul 1, 2009
I have a VPS server, i installed and configure csf, but wonder if i reboot my server the csf would close the connection, or wont work...
so i remmeber how but i really forget and cannot remmber how to enable the csf on the vps start up..
View 8 Replies
View Related
Jun 29, 2009
how to enable innodb
use this command in mysql ....
View 4 Replies
View Related
May 30, 2008
My becky email client don't work with SSL 3.0 (POP3s).
by the way, when use SSL 2.0, it still can't verify certificate. I install StartCOM Free SSL successfully with every services (vps.domain.com)
[url]
View 2 Replies
View Related
Aug 17, 2008
How do I enable pdo_mysql on my cpanel server? Can I do it somewhere in WHM or do I need to go to command line?
View 7 Replies
View Related
Mar 26, 2008
i have a dedicated server with php4 and i have one client that needs to have gettext module enabled..
how can i enable it?
View 3 Replies
View Related
Mar 23, 2008
I have a VPS and I need to enable mod_rewrite.
Here is my PHP Info: [url]
I read a tutorial but I just don't get it. I would appreciate if you could help me out.
I need it for my Wordpress blog.
View 14 Replies
View Related
Jun 23, 2007
i use a script that needs fsockopen and curl to work. also i installed curl, but couldn't enable fsockopen. how i can do that? i'm using centos, php5, cpanel etc etc..
i looked php.ini, disable_functions is empty..
View 2 Replies
View Related
Oct 22, 2007
i disabled the .htaccess files when i installed the modsecurity with the following command
/usr/local/apache/bin/apxs -D DISABLE_HTACCESS_CONFIG -cia mod_security.c
now how can i recompile the modsecurity with .htaccess enabled?
View 1 Replies
View Related
Oct 7, 2007
how can i enable iconv (using .htaccess too)
View 3 Replies
View Related
Jul 20, 2007
Anyone know how to properly enable/compile SOAP service on a centos 4.5 / cpanel box?
View 2 Replies
View Related
Aug 26, 2007
My site is running with php scripts It's work fire at bluehost but get some error when i move to new VPS .
Quote:
Warning: fputs(): supplied argument is not a valid stream resource in /home/xxx/public_html/home/admin/update_categories.php on line 171
Warning: fclose(): supplied argument is not a valid stream resource in /home/xxx/public_html/home/admin/update_categories.php on line 173
Warning: fputs(): supplied argument is not a valid stream resource in /home/xxx/public_html/home/admin/update_categories.php on line 225
Warning: fclose(): supplied argument is not a valid stream resource in /home/xxx/public_html/home/admin/update_categories.php on line 227
I want to enable these functions fopen(),fputs(),fclose(),fputs(),fclose() but i don't know how to enable them .Could you tell me details
View 2 Replies
View Related
Mar 27, 2007
i give following error so how can i enable phpinfo()
Code:
warning : phpinfo() has been disabled for security reasons
View 6 Replies
View Related
Jun 2, 2009
Hi Htaccess not working in my server how Enable htaccess on Apache ?
View 14 Replies
View Related
Mar 22, 2007
How do I enable shell_exec in an .htaccess file for one particular account, even thought it is disabled globally in php.ini ?
I am using php 4.4.6 / cpanel / centos
Also, what would the .htaccess look like for php5x?
View 5 Replies
View Related
May 2, 2009
When I use mencoder,my computer shows both sse and sse2 are supported but disabled. How to enable them? Can anyone give me the command line on how to convert rmvb files to flv and other formats?
View 1 Replies
View Related
Oct 23, 2009
i have installed Plesk in my VPS, Created Domain and tried to upload my files , All Ok but when upload .htaccess file , it disaper's .. i use filzilla ftp and there opition to force see hidden file , when do that , the file shows up .. but how to disable it from been hidden each time i upload it
View 1 Replies
View Related