Page 1 of 2 12 LastLast
Results 1 to 15 of 30

Thread: need proxy help

  1. #1
    Join Date
    Jul 2003
    Posts
    605

    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?
    24Proxy.com :: US Web Proxy :: NO POPUPS!
    Click here to view a list of our other proxies.

  2. #2
    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=29
    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

  3. #3
    Join Date
    Nov 2005
    Location
    Canada
    Posts
    130
    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...

  4. #4
    Join Date
    May 2003
    Location
    Ottawa
    Posts
    2,478
    Quote Originally Posted by messa
    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...
    In regards to the loss of ads, the only direct links to proxied pages would be posts on other sites. There's no way for a search engine to crawl anything beyond the index page. If you'd like to accomodate for ads on direct links, you could simply add the ads to the error page as well. As long as you provide a link back to the index page in your error message, there's a good chance you'll retain most of the traffic.

    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

  5. #5
    Join Date
    Jul 2003
    Posts
    605
    On my site 24proxy.com i did a refresh that will refresh the page instantly so i won't lose the traffic.
    24Proxy.com :: US Web Proxy :: NO POPUPS!
    Click here to view a list of our other proxies.

  6. #6
    Join Date
    May 2003
    Location
    Ottawa
    Posts
    2,478
    Quote Originally Posted by Amdac
    I'll do some quick modifications and add it to the article in a few minutes. Thanks!
    I took the easy route, the orginal idea was much more complex. It should now allow proxy.org.
    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

  7. #7
    Join Date
    Jul 2003
    Posts
    605
    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?
    24Proxy.com :: US Web Proxy :: NO POPUPS!
    Click here to view a list of our other proxies.

  8. #8
    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

  9. #9
    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

  10. #10
    Join Date
    Jul 2003
    Posts
    605
    When you access pages like yahoo.com then view there news the url_form disappears.

    aim: crspyjohn
    msn: crspyjohn@hotmail.com
    skype: crspyjohn
    24Proxy.com :: US Web Proxy :: NO POPUPS!
    Click here to view a list of our other proxies.

  11. #11
    Join Date
    May 2003
    Location
    Ottawa
    Posts
    2,478
    Quote Originally Posted by crspyjohn
    When you access pages like yahoo.com then view there news the url_form disappears.

    aim: crspyjohn
    msn: crspyjohn@hotmail.com
    skype: crspyjohn
    Ah, that's a completely different issue with phproxy.

    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

  12. #12
    Join Date
    Jul 2003
    Posts
    605
    thanks you
    24Proxy.com :: US Web Proxy :: NO POPUPS!
    Click here to view a list of our other proxies.

  13. #13
    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

  14. #14
    Join Date
    Sep 2004
    Location
    Rohnert Park, CA
    Posts
    97
    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" );
    }
    Now, I'm not 100% sure that this will even work, and I tried to test it but then I realized that the HTTP_REFERER environment variable isn't even being set on my server, or at least not when I was trying to access it, but it should work in theory.

    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.)
    Joshua Simmons
    Virtual Developer
    www.v-dev.com/

  15. #15
    Join Date
    May 2003
    Location
    Ottawa
    Posts
    2,478
    Quote Originally Posted by Vdevelopers
    || $_SERVER["HTTP_REFERER"] == ""
    I don't know why I didn't think of that, definately a nice touch.
    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

Page 1 of 2 12 LastLast

Related Posts from theWHIR.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •