President-Anonymous

Members
  • Posts

    54
  • Joined

  • Last visited

  • Days Won

    7

Reputation Activity

  1. Like
    President-Anonymous got a reaction from woodhzgl in hot link protection via htaccess (X, Y, and all, but with safe list)   
    I've hit a wall....

    The Goal

    Block site X and show them image X
    Blocked site Y and show them image Y
    Block everyone else and show them image Z

    Have a safe list / white list, so that I can still hot link here on XenForo and a few other select sites.

    What Jake came up with (but doesn't seem to work)



    # NO HOTLINK FOR SITE X
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingx\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    # NO HOTLINK FOR SITE Y
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingy\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    # NO HOTLINK FOR ALL SITES
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteCond %{REQUEST_URI} !nohotlinking\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]
    [/code]

    I know someone here must have done this before.

    Can anyone here tell me what is wrong with this code?

    (If you don't have the answer... Please like this post knowing that I wasn't someone who opened up a wasteful support ticket. I imagine that happens a lot.)
  2. Like
    President-Anonymous got a reaction from asdfgt28k in hot link protection via htaccess (X, Y, and all, but with safe list)   
    I've hit a wall....

    The Goal

    Block site X and show them image X
    Blocked site Y and show them image Y
    Block everyone else and show them image Z

    Have a safe list / white list, so that I can still hot link here on XenForo and a few other select sites.

    What Jake came up with (but doesn't seem to work)



    # NO HOTLINK FOR SITE X
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingx\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    # NO HOTLINK FOR SITE Y
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingy\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    # NO HOTLINK FOR ALL SITES
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteCond %{REQUEST_URI} !nohotlinking\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]
    [/code]

    I know someone here must have done this before.

    Can anyone here tell me what is wrong with this code?

    (If you don't have the answer... Please like this post knowing that I wasn't someone who opened up a wasteful support ticket. I imagine that happens a lot.)
  3. Like
    President-Anonymous got a reaction from wasiccoo in hot link protection via htaccess (X, Y, and all, but with safe list)   
    I've hit a wall....

    The Goal

    Block site X and show them image X
    Blocked site Y and show them image Y
    Block everyone else and show them image Z

    Have a safe list / white list, so that I can still hot link here on XenForo and a few other select sites.

    What Jake came up with (but doesn't seem to work)



    # NO HOTLINK FOR SITE X
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingx\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    # NO HOTLINK FOR SITE Y
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingy\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    # NO HOTLINK FOR ALL SITES
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteCond %{REQUEST_URI} !nohotlinking\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]
    [/code]

    I know someone here must have done this before.

    Can anyone here tell me what is wrong with this code?

    (If you don't have the answer... Please like this post knowing that I wasn't someone who opened up a wasteful support ticket. I imagine that happens a lot.)
  4. Like
    President-Anonymous got a reaction from brierbpromi in hot link protection via htaccess (X, Y, and all, but with safe list)   
    I've hit a wall....

    The Goal

    Block site X and show them image X
    Blocked site Y and show them image Y
    Block everyone else and show them image Z

    Have a safe list / white list, so that I can still hot link here on XenForo and a few other select sites.

    What Jake came up with (but doesn't seem to work)



    # NO HOTLINK FOR SITE X
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingx\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    # NO HOTLINK FOR SITE Y
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingy\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    # NO HOTLINK FOR ALL SITES
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteCond %{REQUEST_URI} !nohotlinking\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]
    [/code]

    I know someone here must have done this before.

    Can anyone here tell me what is wrong with this code?

    (If you don't have the answer... Please like this post knowing that I wasn't someone who opened up a wasteful support ticket. I imagine that happens a lot.)
  5. Like
    President-Anonymous got a reaction from Orvilrvlipv in hot link protection via htaccess (X, Y, and all, but with safe list)   
    I've hit a wall....

    The Goal

    Block site X and show them image X
    Blocked site Y and show them image Y
    Block everyone else and show them image Z

    Have a safe list / white list, so that I can still hot link here on XenForo and a few other select sites.

    What Jake came up with (but doesn't seem to work)



    # NO HOTLINK FOR SITE X
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingx\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    # NO HOTLINK FOR SITE Y
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingy\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    # NO HOTLINK FOR ALL SITES
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteCond %{REQUEST_URI} !nohotlinking\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]
    [/code]

    I know someone here must have done this before.

    Can anyone here tell me what is wrong with this code?

    (If you don't have the answer... Please like this post knowing that I wasn't someone who opened up a wasteful support ticket. I imagine that happens a lot.)
  6. Like
    President-Anonymous got a reaction from uttebyAlbuple in hot link protection via htaccess (X, Y, and all, but with safe list)   
    I've hit a wall....

    The Goal

    Block site X and show them image X
    Blocked site Y and show them image Y
    Block everyone else and show them image Z

    Have a safe list / white list, so that I can still hot link here on XenForo and a few other select sites.

    What Jake came up with (but doesn't seem to work)



    # NO HOTLINK FOR SITE X
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingx\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    # NO HOTLINK FOR SITE Y
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingy\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    # NO HOTLINK FOR ALL SITES
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteCond %{REQUEST_URI} !nohotlinking\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]
    [/code]

    I know someone here must have done this before.

    Can anyone here tell me what is wrong with this code?

    (If you don't have the answer... Please like this post knowing that I wasn't someone who opened up a wasteful support ticket. I imagine that happens a lot.)
  7. Like
    President-Anonymous got a reaction from raixroorund in hot link protection via htaccess (X, Y, and all, but with safe list)   
    I've hit a wall....

    The Goal

    Block site X and show them image X
    Blocked site Y and show them image Y
    Block everyone else and show them image Z

    Have a safe list / white list, so that I can still hot link here on XenForo and a few other select sites.

    What Jake came up with (but doesn't seem to work)



    # NO HOTLINK FOR SITE X
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingx\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    # NO HOTLINK FOR SITE Y
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingy\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    # NO HOTLINK FOR ALL SITES
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteCond %{REQUEST_URI} !nohotlinking\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]
    [/code]

    I know someone here must have done this before.

    Can anyone here tell me what is wrong with this code?

    (If you don't have the answer... Please like this post knowing that I wasn't someone who opened up a wasteful support ticket. I imagine that happens a lot.)
  8. Like
    President-Anonymous got a reaction from tuctteeda in hot link protection via htaccess (X, Y, and all, but with safe list)   
    I've hit a wall....

    The Goal

    Block site X and show them image X
    Blocked site Y and show them image Y
    Block everyone else and show them image Z

    Have a safe list / white list, so that I can still hot link here on XenForo and a few other select sites.

    What Jake came up with (but doesn't seem to work)



    # NO HOTLINK FOR SITE X
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingx\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    # NO HOTLINK FOR SITE Y
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingy\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    # NO HOTLINK FOR ALL SITES
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteCond %{REQUEST_URI} !nohotlinking\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]
    [/code]

    I know someone here must have done this before.

    Can anyone here tell me what is wrong with this code?

    (If you don't have the answer... Please like this post knowing that I wasn't someone who opened up a wasteful support ticket. I imagine that happens a lot.)
  9. Like
    President-Anonymous got a reaction from fgbVfger in hot link protection via htaccess (X, Y, and all, but with safe list)   
    I've hit a wall....

    The Goal

    Block site X and show them image X
    Blocked site Y and show them image Y
    Block everyone else and show them image Z

    Have a safe list / white list, so that I can still hot link here on XenForo and a few other select sites.

    What Jake came up with (but doesn't seem to work)



    # NO HOTLINK FOR SITE X
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingx\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    # NO HOTLINK FOR SITE Y
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingy\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    # NO HOTLINK FOR ALL SITES
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteCond %{REQUEST_URI} !nohotlinking\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]
    [/code]

    I know someone here must have done this before.

    Can anyone here tell me what is wrong with this code?

    (If you don't have the answer... Please like this post knowing that I wasn't someone who opened up a wasteful support ticket. I imagine that happens a lot.)
  10. Like
    President-Anonymous got a reaction from PirlWerbtit in hot link protection via htaccess (X, Y, and all, but with safe list)   
    I've hit a wall....

    The Goal

    Block site X and show them image X
    Blocked site Y and show them image Y
    Block everyone else and show them image Z

    Have a safe list / white list, so that I can still hot link here on XenForo and a few other select sites.

    What Jake came up with (but doesn't seem to work)



    # NO HOTLINK FOR SITE X
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingx\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    # NO HOTLINK FOR SITE Y
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingy\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    # NO HOTLINK FOR ALL SITES
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteCond %{REQUEST_URI} !nohotlinking\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]
    [/code]

    I know someone here must have done this before.

    Can anyone here tell me what is wrong with this code?

    (If you don't have the answer... Please like this post knowing that I wasn't someone who opened up a wasteful support ticket. I imagine that happens a lot.)
  11. Like
    President-Anonymous got a reaction from ligiomounsula in hot link protection via htaccess (X, Y, and all, but with safe list)   
    I've hit a wall....

    The Goal

    Block site X and show them image X
    Blocked site Y and show them image Y
    Block everyone else and show them image Z

    Have a safe list / white list, so that I can still hot link here on XenForo and a few other select sites.

    What Jake came up with (but doesn't seem to work)



    # NO HOTLINK FOR SITE X
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingx\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    # NO HOTLINK FOR SITE Y
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingy\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    # NO HOTLINK FOR ALL SITES
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteCond %{REQUEST_URI} !nohotlinking\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]
    [/code]

    I know someone here must have done this before.

    Can anyone here tell me what is wrong with this code?

    (If you don't have the answer... Please like this post knowing that I wasn't someone who opened up a wasteful support ticket. I imagine that happens a lot.)
  12. Like
    President-Anonymous got a reaction from ZerOnefperi in hot link protection via htaccess (X, Y, and all, but with safe list)   
    I've hit a wall....

    The Goal

    Block site X and show them image X
    Blocked site Y and show them image Y
    Block everyone else and show them image Z

    Have a safe list / white list, so that I can still hot link here on XenForo and a few other select sites.

    What Jake came up with (but doesn't seem to work)



    # NO HOTLINK FOR SITE X
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingx\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    # NO HOTLINK FOR SITE Y
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingy\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    # NO HOTLINK FOR ALL SITES
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteCond %{REQUEST_URI} !nohotlinking\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]
    [/code]

    I know someone here must have done this before.

    Can anyone here tell me what is wrong with this code?

    (If you don't have the answer... Please like this post knowing that I wasn't someone who opened up a wasteful support ticket. I imagine that happens a lot.)
  13. Like
    President-Anonymous got a reaction from yfewtjdfopaw in hot link protection via htaccess (X, Y, and all, but with safe list)   
    I've hit a wall....

    The Goal

    Block site X and show them image X
    Blocked site Y and show them image Y
    Block everyone else and show them image Z

    Have a safe list / white list, so that I can still hot link here on XenForo and a few other select sites.

    What Jake came up with (but doesn't seem to work)



    # NO HOTLINK FOR SITE X
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingx\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    # NO HOTLINK FOR SITE Y
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingy\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    # NO HOTLINK FOR ALL SITES
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteCond %{REQUEST_URI} !nohotlinking\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]
    [/code]

    I know someone here must have done this before.

    Can anyone here tell me what is wrong with this code?

    (If you don't have the answer... Please like this post knowing that I wasn't someone who opened up a wasteful support ticket. I imagine that happens a lot.)
  14. Like
    President-Anonymous got a reaction from cscshop in hot link protection via htaccess (X, Y, and all, but with safe list)   
    I've hit a wall....

    The Goal

    Block site X and show them image X
    Blocked site Y and show them image Y
    Block everyone else and show them image Z

    Have a safe list / white list, so that I can still hot link here on XenForo and a few other select sites.

    What Jake came up with (but doesn't seem to work)



    # NO HOTLINK FOR SITE X
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingx\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    # NO HOTLINK FOR SITE Y
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingy\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    # NO HOTLINK FOR ALL SITES
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteCond %{REQUEST_URI} !nohotlinking\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]
    [/code]

    I know someone here must have done this before.

    Can anyone here tell me what is wrong with this code?

    (If you don't have the answer... Please like this post knowing that I wasn't someone who opened up a wasteful support ticket. I imagine that happens a lot.)
  15. Like
    President-Anonymous got a reaction from abnoseseskymn in hot link protection via htaccess (X, Y, and all, but with safe list)   
    I've hit a wall....

    The Goal

    Block site X and show them image X
    Blocked site Y and show them image Y
    Block everyone else and show them image Z

    Have a safe list / white list, so that I can still hot link here on XenForo and a few other select sites.

    What Jake came up with (but doesn't seem to work)



    # NO HOTLINK FOR SITE X
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingx\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    # NO HOTLINK FOR SITE Y
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingy\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    # NO HOTLINK FOR ALL SITES
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteCond %{REQUEST_URI} !nohotlinking\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]
    [/code]

    I know someone here must have done this before.

    Can anyone here tell me what is wrong with this code?

    (If you don't have the answer... Please like this post knowing that I wasn't someone who opened up a wasteful support ticket. I imagine that happens a lot.)
  16. Like
    President-Anonymous got a reaction from yfewtjdfopaw in mod_php or mod_fcgid   
    Which do you have installed?
     
     
  17. Like
    President-Anonymous got a reaction from etencinly in hot link protection via htaccess (X, Y, and all, but with safe list)   
    I've hit a wall....

    The Goal

    Block site X and show them image X
    Blocked site Y and show them image Y
    Block everyone else and show them image Z

    Have a safe list / white list, so that I can still hot link here on XenForo and a few other select sites.

    What Jake came up with (but doesn't seem to work)



    # NO HOTLINK FOR SITE X
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingx\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitex\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingx.jpg? [NC,L]

    # NO HOTLINK FOR SITE Y
    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteCond %{REQUEST_URI} !nohotlinkingy\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} ^http://(www\.)?sitey\.com [NC]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinkingy.jpg? [NC,L]

    # NO HOTLINK FOR ALL SITES
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteCond %{REQUEST_URI} !nohotlinking\.jpg$ [NC]
    RewriteRule \.(jpg|gif|jpeg|png|bmp|pdf|zip|txt|svg)$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]

    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http://(www\.)?yoursite\.com [NC]
    [COLOR=red]RewriteCond %{HTTP_REFERER} !^http://(www\.)?allowedsite\.com [NC][/COLOR]
    RewriteRule ^attachments/.+$ http://www.yoursite.com/nohotlinking.jpg? [NC,L]
    [/code]

    I know someone here must have done this before.

    Can anyone here tell me what is wrong with this code?

    (If you don't have the answer... Please like this post knowing that I wasn't someone who opened up a wasteful support ticket. I imagine that happens a lot.)
  18. Like
    President-Anonymous reacted to DougF in Update cPanel & WHM to Version 11.34   
    Wondering when cPanel will be updated to 11.34?

    The feature I am most interested in is the new ability to configure the email retention period. Dealing with clients who allow their email accounts to fill with old email and shut down their hosting account is a major pain...
  19. Like
    President-Anonymous got a reaction from argulseusef in Disk space reminder   
    I reported this 3 months ago when it was around 70% via ticket. We're getting close to pushing 85-90




  20. Like
    President-Anonymous reacted to Joe. in Coupons for existing customers?   
    At the moment (or in the near future),

    Do you have any coupons for existing customers about to renew their hosting plan? :)
  21. Like
    President-Anonymous reacted to Tony in PHP version   
    Yep you can run PHP 5.3 and also 5.4 now
  22. Like
    President-Anonymous reacted to Guy Scharf in ASK - What's Wrong? My CPU Usage 50% Increase - Help   
    I've looked at the 100% peaks on our sites. What I've found is they are often associated with a search engine crawling the site and making hundreds of requests very quickly.

    I've resolved this, and reduced the number of times I see 100% usage on the graph, by specifying a crawl rate in robots.txt:

    User-agent: * Crawl-delay: 2
    I've also banned crawl engines that don't honor crawl-delay using robots.txt and/or .htaccess.
  23. Like
    President-Anonymous reacted to Brian in Is there a way to ping certain server:port?   
    We have a firewall on all of our systems that block requests (in or out) for any non-standard port. If I had to guess I would say the port you're trying to reach is not allowed through the firewall.

    It shouldn't be an issue getting the port opened on your server though you would need to submit a ticket for this so we can escalate it to our sysadmin department for review. Please submit a ticket at https://support.hawkhost.com, provide us the path to the script(s), the port(s) you'd like opened, and any other relevant info and we'll get this taken care of for you!
  24. Like
    President-Anonymous reacted to Fowler in Blog post ideas?   
    You could talk about the most common support questions recieved, the type of software (or any software in particular) customers run that causes you guys the most headaches and why it causes problems.

    The type of blog posts I really would like to see again (as I mentioned elsewhere) are the monthly reports. They used to list things that have happened that month, things being worked on and how well promotions went down for example.
  25. Like
    President-Anonymous reacted to Noticed in Our newest plans and services   
    Yeah I do kinda see what you're saying how they said it is "Semi-dedicated" when Semi Dedicated is like a hybrid VPS, it'd be like someone calling shared hosting a reseller I guess they just picked a weird name for it