-
NLC
Is there something you can do with .htaccess or other form of script that makes it that other site can't link to your images and downloads like geocities and other major free web host has done?
-
Rebutted, enshrined
-
NLC
in both of them it states that you put in the ip address of your site, what if your site is on free web space whats the ip then? Or if not what do you do?
-
Rebutted, enshrined
Oops. I don't think you need the IP. I know I have got it to work. Check this variant:
http://webnests.com/bandwidththeft.htm
Or go to http://www.cgi-resources.com/ or some other CGI directory and search for "bandwidth" and you'll find a bunch of scripts.
Sorry, I don't find the .htaccess I used. But I definitely didn't have my own IP.
-
NLC
Originally posted by meow
Oops. I don't think you need the IP. I know I have got it to work. Check this variant:
http://webnests.com/bandwidththeft.htm
Or go to http://www.cgi-resources.com/ or some other CGI directory and search for "bandwidth" and you'll find a bunch of scripts.
Sorry, I don't find the .htaccess I used. But I definitely didn't have my own IP.
On the first link it shows:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://domain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.com/.*$ [NC]
RewriteRule .*\.gif$ - [F]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://domain.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.domain.com/.*$ [NC]
RewriteRule .*\.jpg$ - [F]
Do you think it will still work if the files are zip and other format besides jpg and gif?
-
NLC
Damn I tried that thing now my site don't even work at all, might just be my browser so can you guys check? its at http://www.otashki----------
-
Rebutted, enshrined
Sh*t! IE just connects, connects, connects... 
Where do you have the site? You can get in with ftp I hope?
-
NLC
I have it at hypermart and yes I can access the ftp, the OTHER address is otashki.hypermart.net
-
Rebutted, enshrined
Have you tried to delete the .htaccess file?
Boy, I feel like this is my fault.
-
May 13th, 2001, 03:00
#10
Rebutted, enshrined
Hey Weapon, can you see the .htaccess file with ftp? If not, do you know how to get rid of it? *worried* - no smilie for that
-
May 13th, 2001, 03:30
#11
NLC
nothing to worry about, I can still edit, delete and do all the other stuff with the .htaccess ,but I just can't get it to work. Is there like something special you have to do? put it in a certain dir? or anything else i need to know
-
May 13th, 2001, 06:19
#12
-
May 13th, 2001, 14:59
#13
NLC
I did try some variations and the site works, but then the pictures don't show up
-
May 13th, 2001, 23:54
#14
NLC
I got a variation which looks something like this:
<FilesMatch "\.(gif|jpg)">
allow from otashki.hypermart.net
</FilesMatch>
yet it still don't work any suggestions?
-
May 14th, 2001, 17:25
#15
Rebutted, enshrined
I tried this on f2s:
RewriteEngine On
RewriteCond %{HTTP_REFERER} !>http://www.blah.f2s.com [NC]
RewriteRule /* http://www.blah.f2s.com/bad.html [R,L]
Same result as you. Can't link to the images, but they don't show up on my page either.
If I find the old one I used I'll post it. Think it was on myscgiserver. Guess you have to settle for a CGI.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Bookmarks