can anyone please help me out with this. google was no help this time.
allowing only certain sites to link my page using .htaccess
Collapse
X
-
http://www.freewebmasterhelp.com/tutorials/htaccess/2Originally posted by Fucksakescan anyone please help me out with this. google was no help this time.
http://www.meteorsurf.com/cgi-bin/sm...words=htaccess -
still confused
i just make a .htaccess file with the following
allow http://www.thehun.com
allow http://www.gofuckyourself.com
etc?Comment
-
Better to use the IP.<limit GET>
order deny,allow
deny from all
allow from 216.67.229.4
</limit>
Get the IP doind a ping in a DOS window.I know that Asspimple is stoopid ... As he says, it is a FACT !
But I can't figure out how he can breathe or type , at the same time ....Comment
-
a whole site.. want to know exactly....
I don't want them fucking leeching sites to grab my galleries from other sites, I want to make a .htaccess file and only allow the sites that I submit to to be able to list them, anyone else to be redirected to sleezydream.com.. jkComment
-
Originally posted by Fucksakesa whole site.. want to know exactly....
I don't want them fucking leeching sites to grab my galleries from other sites, I want to make a .htaccess file and only allow the sites that I submit to to be able to list them, anyone else to be redirected to sleezydream.com.. jk
So you need anti-leaching, not the deny ...
You have Cpanel on your server?I know that Asspimple is stoopid ... As he says, it is a FACT !
But I can't figure out how he can breathe or type , at the same time ....Comment
-
Anti-leech using htaccess
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP_REFERER} .
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mydomain\.com [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?myfriends\.org [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?mywork\.com [NC]
RewriteRule \.(gif¦jpg¦jpeg¦png¦swf)$ /img/antileech.gif [NC]
I know that Asspimple is stoopid ... As he says, it is a FACT !
But I can't figure out how he can breathe or type , at the same time ....Comment
-
isnt that for ppl stealing images and such from me.. I mean like I submit a gallery http://www.xxxxxxxx.com/gallery1.html and I submit this gallery to only 30 sites, but it ends up on 200 other shitty thumb sites that don't make me sales but cost me bandwidth. I want to redirect all them sites listing my galleries that I don't want them listing me.Originally posted by directfiestaAnti-leech using htaccessComment
-
Originally posted by Fucksakesisnt that for ppl stealing images and such from me.. I mean like I submit a gallery http://www.xxxxxxxx.com/gallery1.html and I submit this gallery to only 30 sites, but it ends up on 200 other shitty thumb sites that don't make me sales but cost me bandwidth. I want to redirect all them sites listing my galleries that I don't want them listing me.
OK... Now it makes sense.
So use the first one modified:
Notice that it allows from ALL, then denies the one you don't want. You can put the domain if you prefer.<limit GET>
order deny,allow
allow from all
deny from 216.67.229.4
deny from 258.548.58
</limit>
This doesn't redirect the denied to anywhere tough...I know that Asspimple is stoopid ... As he says, it is a FACT !
But I can't figure out how he can breathe or type , at the same time ....Comment
-
You don't like SE traffic? If you only allow referring URL's from the sites you submit your galleries to all SE traffic would be redirected as well.Originally posted by Fucksakesisnt that for ppl stealing images and such from me.. I mean like I submit a gallery http://www.xxxxxxxx.com/gallery1.html and I submit this gallery to only 30 sites, but it ends up on 200 other shitty thumb sites that don't make me sales but cost me bandwidth. I want to redirect all them sites listing my galleries that I don't want them listing me.Comment
-
If you do that, a surfer will not be able to view your galleries UNLESS he comes from the allowed sites ....Originally posted by FucksakesI prefer to use the allow ip one cause there are alot more site to not allow.
there is no way to redirect them all.. what exactly happens than?
You could add a redirection to a page or another site. I don't have the code handy ... sorry.I know that Asspimple is stoopid ... As he says, it is a FACT !
But I can't figure out how he can breathe or type , at the same time ....Comment

Make MORE $$$ now! 
Comment