GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   allowing only certain sites to link my page using .htaccess (https://gfy.com/showthread.php?t=458652)

Fucksakes 04-21-2005 08:08 PM

allowing only certain sites to link my page using .htaccess
 
can anyone please help me out with this. google was no help this time.

jonpotz 04-21-2005 08:10 PM

Quote:

Originally Posted by Fucksakes
can anyone please help me out with this. google was no help this time.

http://www.freewebmasterhelp.com/tutorials/htaccess/2

http://www.meteorsurf.com/cgi-bin/sm...rds=htacce ss

Fucksakes 04-21-2005 08:12 PM

thank you

Fucksakes 04-21-2005 08:18 PM

still confused

i just make a .htaccess file with the following

allow http://www.thehun.com
allow http://www.gofuckyourself.com

etc?

Fucksakes 04-21-2005 08:34 PM

bump :( 8

khs 04-21-2005 08:42 PM

images or what?

directfiesta 04-21-2005 08:45 PM

Quote:

<limit GET>
order deny,allow
deny from all
allow from 216.67.229.4
</limit>
Better to use the IP.

Get the IP doind a ping in a DOS window.

Fucksakes 04-21-2005 08:46 PM

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.. jk

directfiesta 04-21-2005 08:50 PM

Quote:

Originally Posted by Fucksakes
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.. jk


So you need anti-leaching, not the deny ...

You have Cpanel on your server?

Fucksakes 04-21-2005 08:51 PM

not sure.. I am sure I can get anything I need done thou.. I hope

directfiesta 04-21-2005 09:02 PM

Quote:


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]


Anti-leech using htaccess

Fucksakes 04-21-2005 09:06 PM

Quote:

Originally Posted by directfiesta
Anti-leech using htaccess

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.

directfiesta 04-21-2005 09:11 PM

Quote:

Originally Posted by Fucksakes
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.


OK... Now it makes sense.

So use the first one modified:


Quote:

<limit GET>
order deny,allow
allow from all
deny from 216.67.229.4
deny from 258.548.58
</limit>
Notice that it allows from ALL, then denies the one you don't want. You can put the domain if you prefer.
This doesn't redirect the denied to anywhere tough...

Fucksakes 04-21-2005 09:15 PM

I 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?

J B 04-21-2005 09:35 PM

Quote:

Originally Posted by Fucksakes
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.

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.

directfiesta 04-21-2005 09:36 PM

Quote:

Originally Posted by Fucksakes
I 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?

If you do that, a surfer will not be able to view your galleries UNLESS he comes from the allowed sites ....

You could add a redirection to a page or another site. I don't have the code handy ... sorry.

Fucksakes 04-21-2005 09:45 PM

Quote:

Originally Posted by J B
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.

good point, I'm not thinking.

Fucksakes 04-21-2005 09:46 PM

thanks directfiesta for your help, very much appreciated.


All times are GMT -7. The time now is 04:47 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123