Results 1 to 25 of 30
Thread: need proxy help
-
05-13-2006, 10:31 PM #1Web Hosting Master
- Join Date
- Jul 2003
- Posts
- 612
need proxy help
hey,
i been looking for a way to disable hotlinking in phproxy. I think some sites are using my site as a hotlinking source. Is there anyway to block this?
-
05-13-2006, 11:25 PM #2Superhero
- Join Date
- May 2003
- Location
- Ottawa
- Posts
- 2,478
I figured it's time I shared some logic with the proxy community.
I just wrote a short article regarding the prevention of hotlinking files via phproxy.
The article can be found here: http://www.webmastertalk.net/showthread.php?t=29Webmaster Forum • webmastertalk.net • Webmaster Community Forum
Website Tools • domainfocus.com • Webmaster Tools | IP Lookup | Domain Whois | PageRank Checker | HTTP Header Info | Link Analysis | Favicon Generator
-
05-14-2006, 12:00 AM #3WHT Addict
- Join Date
- Nov 2005
- Location
- Canada
- Posts
- 132
Looks nice Amdac.
Can this be optimised to include other preffered referrer sites such as proxy.org etc?
Another point is that you are loosing alot of ad traffic that would have came through your site on proxified pages.
CPM on proxified pages can be worth the extra bandwidth that's used up.
comment more later...
-
05-14-2006, 12:10 AM #4Superhero
- Join Date
- May 2003
- Location
- Ottawa
- Posts
- 2,478
Originally Posted by messa
You've made a good point about allowing proxy.org, considering my site is listed there as well. I'll do some quick modifications and add it to the article in a few minutes. Thanks!Webmaster Forum • webmastertalk.net • Webmaster Community Forum
Website Tools • domainfocus.com • Webmaster Tools | IP Lookup | Domain Whois | PageRank Checker | HTTP Header Info | Link Analysis | Favicon Generator
-
05-14-2006, 12:14 AM #5Web Hosting Master
- Join Date
- Jul 2003
- Posts
- 612
On my site 24proxy.com i did a refresh that will refresh the page instantly so i won't lose the traffic.
-
05-14-2006, 12:18 AM #6Superhero
- Join Date
- May 2003
- Location
- Ottawa
- Posts
- 2,478
Originally Posted by AmdacWebmaster Forum • webmastertalk.net • Webmaster Community Forum
Website Tools • domainfocus.com • Webmaster Tools | IP Lookup | Domain Whois | PageRank Checker | HTTP Header Info | Link Analysis | Favicon Generator
-
05-14-2006, 12:32 AM #7Web Hosting Master
- Join Date
- Jul 2003
- Posts
- 612
Bug fix. The original script doesn't display the url include forum if the body tag of a site is empty
do you have a fix for that?
-
05-14-2006, 12:53 AM #8Superhero
- Join Date
- May 2003
- Location
- Ottawa
- Posts
- 2,478
I'll let you know in a sec.
Last edited by Amdac; 05-14-2006 at 01:03 AM.
Webmaster Forum • webmastertalk.net • Webmaster Community Forum
Website Tools • domainfocus.com • Webmaster Tools | IP Lookup | Domain Whois | PageRank Checker | HTTP Header Info | Link Analysis | Favicon Generator
-
05-14-2006, 01:03 AM #9Superhero
- Join Date
- May 2003
- Location
- Ottawa
- Posts
- 2,478
Are you saying you want url_form.inc included on the intercepted pages? Just want to make sure I'm understanding it correctly.
Webmaster Forum • webmastertalk.net • Webmaster Community Forum
Website Tools • domainfocus.com • Webmaster Tools | IP Lookup | Domain Whois | PageRank Checker | HTTP Header Info | Link Analysis | Favicon Generator
-
05-14-2006, 01:05 AM #10Web Hosting Master
- Join Date
- Jul 2003
- Posts
- 612
When you access pages like yahoo.com then view there news the url_form disappears.
aim: crspyjohn
msn: crspyjohn@hotmail.com
skype: crspyjohn
-
05-14-2006, 01:11 AM #11Superhero
- Join Date
- May 2003
- Location
- Ottawa
- Posts
- 2,478
Originally Posted by crspyjohn
The solution to that can be found here (check the post by murdock):
http://whitefyre.com/boards/genmessage.php?topic=102
That enables it on many sites that it normally doesn't show up on.Webmaster Forum • webmastertalk.net • Webmaster Community Forum
Website Tools • domainfocus.com • Webmaster Tools | IP Lookup | Domain Whois | PageRank Checker | HTTP Header Info | Link Analysis | Favicon Generator
-
05-14-2006, 01:15 AM #12Web Hosting Master
- Join Date
- Jul 2003
- Posts
- 612
thanks you
-
05-14-2006, 01:20 AM #13Superhero
- Join Date
- May 2003
- Location
- Ottawa
- Posts
- 2,478
Glad I could help.
Webmaster Forum • webmastertalk.net • Webmaster Community Forum
Website Tools • domainfocus.com • Webmaster Tools | IP Lookup | Domain Whois | PageRank Checker | HTTP Header Info | Link Analysis | Favicon Generator
-
05-14-2006, 01:35 AM #14Junior Guru Wannabe
- Join Date
- Sep 2004
- Location
- Rohnert Park, CA
- Posts
- 98
Nice resource, Amdac. I personally just added something similar to what I've got running. I've been having similar problems with hotlinking, so what I added was...
Code:if ( $_GET["q"] && !(strpos( $_SERVER["HTTP_REFERER"], "http://www.proxyboys." ) === 0 || strpos( $_SERVER["HTTP_REFERER"], "http://proxyboys." ) === 0 || $_SERVER["HTTP_REFERER"] == "" )) { Header( "Referer: http://www.proxyboys.com/" ); Header( "Location: http://www.proxyboys.com/index.php" ); }
Difference is is that I added the part in where it allows the user to bypass the hotlink filter if they enter in the URL directly (or have it bookmarked). I also took in to account that some people access websites without using the "www" prefix.
Anywho, if someone uses this, let me know - just throw it at the top of your page before any includes etc. Curious to know if it works. I think my server is just a little borked (I'm terrible at managing my own VPS, so for all I know I left off some important Apache2 module when upgrading.)
-
05-14-2006, 01:41 AM #15Superhero
- Join Date
- May 2003
- Location
- Ottawa
- Posts
- 2,478
Originally Posted by VdevelopersWebmaster Forum • webmastertalk.net • Webmaster Community Forum
Website Tools • domainfocus.com • Webmaster Tools | IP Lookup | Domain Whois | PageRank Checker | HTTP Header Info | Link Analysis | Favicon Generator
-
05-14-2006, 03:03 AM #16New Member
- Join Date
- May 2006
- Posts
- 4
proxyhelper.com
-
05-14-2006, 05:55 PM #17Web Hosting Master
- Join Date
- Aug 2004
- Location
- Canada
- Posts
- 3,785
Interesting way to prevent hotlinking I went a totally different way and started switching the query string based on ip and day and creating an md5 of that and trimming it down to a reasonable length.
So rather than say
PHP Code:http://www.arandomproxy.com/index.php?q=d3d3LmRldm90ZWRob3N0Lm5ldA--&hl=11111010011111101001
I get
http://www.arandomproxy.com/index.php?b47c3=d3d3LmRldm90ZWRob3N0Lm5ldA--&hl=11111010011111101001
█ Tony B. - Chief Executive Officer
█ Hawk Host Inc. Proudly serving websites since 2004
█ Quality Shared and Cloud Hosting
█ PHP 5.2.x - PHP 8.1.X Support!
-
05-15-2006, 01:28 AM #18Web Hosting Master
- Join Date
- Jun 2004
- Location
- Bay Area -USA
- Posts
- 1,740
For some reason this script didnt work for me. I tried linking from my blog, and it still works.
Odd.
I'm going to try reinstalling php proxy with a fresh copy and then try it.<<< Please see Forum Guidelines for signature setup. >>>
-
05-15-2006, 02:18 AM #19Web Hosting Master
- Join Date
- Jul 2003
- Posts
- 612
Only the first one works.`
-
05-15-2006, 02:29 AM #20Superhero
- Join Date
- May 2003
- Location
- Ottawa
- Posts
- 2,478
I know mine works since I use it myself, the link in the post is proof.
Webmaster Forum • webmastertalk.net • Webmaster Community Forum
Website Tools • domainfocus.com • Webmaster Tools | IP Lookup | Domain Whois | PageRank Checker | HTTP Header Info | Link Analysis | Favicon Generator
-
05-15-2006, 11:41 AM #21WHT Addict
- Join Date
- Nov 2005
- Location
- Canada
- Posts
- 132
Works for me too.
How would I add multiple sites to the referrer list?
-
05-15-2006, 03:05 PM #22Superhero
- Join Date
- May 2003
- Location
- Ottawa
- Posts
- 2,478
Originally Posted by messaWebmaster Forum • webmastertalk.net • Webmaster Community Forum
Website Tools • domainfocus.com • Webmaster Tools | IP Lookup | Domain Whois | PageRank Checker | HTTP Header Info | Link Analysis | Favicon Generator
-
05-16-2006, 12:56 AM #23Web Hosting Master
- Join Date
- Jun 2004
- Location
- Bay Area -USA
- Posts
- 1,740
Might want to mention, register_globals needs to be set to ON in the PHP.ini file for this script to function correctly.
<<< Please see Forum Guidelines for signature setup. >>>
-
07-13-2006, 06:08 PM #24WHT Addict
- Join Date
- May 2006
- Posts
- 112
Originally Posted by TonyB
-
08-26-2006, 12:35 PM #25Newbie
- Join Date
- Jul 2006
- Posts
- 15
The Post in whitefyre's site appears to be down (actually the entire forums are). I need to test my anti-hotlinking code but I am confused on just how to 'test' it. I also would like the code to get my mini-bar up on more pages. Anyone want to lend a hand? =)