vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Community Lounge (https://vborg.vbsupport.ru/forumdisplay.php?f=13)
-   -   Ezboard forum stealing my bandwidth (https://vborg.vbsupport.ru/showthread.php?t=43776)

DrkFusion 09-21-2002 07:39 PM

Its happend to me, even with clients, I show them a prview, they copy the preview, and cut it and do the html or something and not pay me.

Thats why I tagg all my images now.

Chris M 09-22-2002 05:38 PM

@Drk - I need to talk to you about that very idea of payment;)

Anyone care to share the code? Please!:)

Satan

Diva 09-22-2002 06:24 PM

Hi. This is what I use on my site. I use it for all my files. The key is to place it above the files with images in them. I keep images that I want to link to other sites in another folder. Just for your FYI.

I have others, but haven't gotten around to putting them up. Just remember to change the "your site" twice. One has "www" and ther other... well, you get the idea. ;)

Quote:

Options FollowSymLinks

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://yoursite.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com/.*$ [NC]
RewriteRule .*\.jpg$ - [G]

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://yoursite.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.yoursite.com/.*$ [NC]
RewriteRule .*\.gif$ - [G]

Dean C 09-22-2002 06:53 PM

do u use that in a php file ^?

- miSt

Diva 09-22-2002 06:57 PM

No. You just save it as text. I suggest htaccess.txt. Then you upload it to the server. Once on the server, rename it to: .htaccess There is NOTHING before the "."

You should email your host and ask if mod re-writes are set up. It's very easy for them to do. Most hosts have it. If you want, you can send me a link and I'll try and see if it works.

[PS: I emailed/PM'd you, Mist... earlier]

ManagerJosh 09-25-2002 11:08 PM

Wouldn't it be better to place it in the base directory of FTP?

I just dump one .htaccess file to /httpdocs and it works for my entire site..(helpful when I need to set Options All)

Erwin 09-25-2002 11:32 PM

I put mine in my image directory.

Diva 09-26-2002 09:05 PM

If you don't want to link any pictures outside, then sure. But I also post on other sites and have linked avatars and pictures. If my htaccess was at the root, then I wouldn't be able to do that.

Merjawy 09-27-2002 02:08 AM

I have a page that people upload images/audio files and post links on others sites of their choice

my problem is I started this free service to be used on few sites less thant 5 sites.. but some of them link to as many as they feel like..

can I use this .htaccess to manage that directory to allow only these sites to link?

need I to put in their URLs/IPs to allow them and block the rest of the world?

Thanks

Diva 09-27-2002 11:53 AM

Hi. Yes, just put right below yours with 'www' and without.


All times are GMT. The time now is 05:07 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01101 seconds
  • Memory Usage 1,729KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete