Hot link protection cannot allow ebay in script

rockscarfone

Member
Aug 30, 2006
8
0
151
OK. MOST OF YOU ARE AWARE OF THE NO COPYRIGHT INFRINGEMENT IF YOU LINK IMAGE TO ORIGINAL SOURCE. WITH 35000 IMAGES WE ARE GETTING HIT HEAVY. ATTEMPTS TO ALLOW EBAY FOR OUR SELF CREATED OFFERS HAS KILLED THE LAST 4 DAYS. SO, ANY HELP WOULD BE APPRECIATED:


how to include/allow ebay access to images when setting up hot link protection?

i am familiar with coding, manually setting up, hot link programming. but nothing works. tried ebay.com http https

i place images directly into my ebay offer.

here is the ebay domain string for an offer:

THE "1942 ***HACK" IS ACTUAL NAME OF OFFER. IT BECOMES LIKE A "DIRECTORY"

"HTTP:// " - - THEN -- "WWW.EBAY.COM/TM/" -- THEN -- "1942-blah-blah-blah-blah-/"


/http://www.ebay.com/itm/1942-blah-blah-blah-blah-/161056020689?pt=blahblah&hash=item257fafd8d1

if i add this string to hot link the images show up. but that is crazy. i would have to place every offer into the hot link code

i tried the : "http://www.ebay.com/itm/" in every way

there are scripts/codes that automatically check http/https and, pick up all sub domains, like "stores".ebay.com

problem seems to be the fact that using "http://www.ebay.com/itm/" images are still blocked.

coding ebay into hot link script still does not allow the information past --http://www.ebay.com/itm/ --to be included

so images are blocked

the name of the item seems to become to the script like a "directory" and not a page separate from the domain url

note forward slash after the offer heading on page below:

/ 1942-blah-blah-blah-blah-/

thus the offer name or heading becomes like an added "directory" vs .html/.php page

is there a way we can place a string at end ? to allow the changing string?

"http://www.ebay.com/itm/ right here"


using this code

//([^.]+\.)?

automatically checks for http and https and any sub-domain before the domain name.

adding //([^.]+\.)? to ebay.com

will allow strings like "https stores" in a ssl linked url like https://stores.ebay.com to be allowed as well as any url with sub domain

is there a way to do same "http://www.ebay.com/itm/ "here" ??

it seems our problem is the "http://www.ebay.com/itm/" is not sufficient

c panel hot link works great.

but this ebay offer problem where the images are called from my domain is causing us to shut hot link protection down

below is part of another code

RewriteCond %{HTTP_REFERER} !^https?://([^.]+\.)?blahblah\. [NC]


works great but ebay added in every way we are aWARE will not allow pics to show on ebay

thanks rock
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

The "HotLink Protection" option with cPanel utilizes Mod_Rewrite rules in the .htaccess file. Here is an example of the rules that are added:

Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http://domain.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://domain.com$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.com/.*$      [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.com$      [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
You may find that using custom rewrite rules in the .htaccess file will better suite your needs. There is useful information from users on the Mod_Rewrite forums if you need help with custom rules.

Thank you.
 

rockscarfone

Member
Aug 30, 2006
8
0
151
thanks. i am using the hot link protection with rewrite rules through cpanel. it works great..

except for the ebay.com domain.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Yes, the nature of how Ebay utilizes their own domain name may require you to implement some custom rules that are not provided with the "HotLink Protection" option.

Thank you.