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)
-   -   help with htaccess - motherfucker fuskered $90 so far (https://gfy.com/showthread.php?t=658245)

Antonio 09-22-2006 08:38 AM

help with htaccess - motherfucker fuskered $90 so far
 
the little kunt that owns http://www.trouserstew.com has fuskered about $90 so far, I'll deal with him later, but right I want to stop him:

I uploaded this htaccess to my root directory but it doesn't work:

Code:

<Limit GET HEAD POST>
order allow,deny
deny from trouserstew.com
allow from all
</LIMIT>


tranza 09-22-2006 08:40 AM

I've never seen such code before.... Where did you get it?

BoyAlley 09-22-2006 08:43 AM

That limits based on the hostname of the client, not referrer. :2 cents:

Antonio 09-22-2006 08:49 AM

tried this in the image directory:

Code:

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?mysite\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(jpg|gif|bmp|png)$ - [F]


it doesn't work either, I'm thinking htaccess doesn't work at all??? tried to contact the host - no reply so far

Antonio 09-22-2006 09:09 AM

wtf, tested mod_rewrite - it works, why doesn't htaccess work ??????

Dragar 09-22-2006 09:11 AM

I can't believe it's not butter

Damian_Maxcash 09-22-2006 09:12 AM

They have cool little tools on this site - if this isnt the one you want have a look on the left menu - there are a couple that could work.

http://www.htaccesstools.com/hotlink-protection/

ServerGenius 09-22-2006 09:12 AM

check your AllowOverride statement in the httpd.conf
if that's wrong .htaccess gets ignored

:2 cents:

OG LennyT 09-22-2006 09:14 AM

Quote:

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?your_domain.com/.*$ [NC]
RewriteRule \.(gif|jpg)$ - [F]
remember, your domain goes where it says your-domain.com/

save as .htaccess and upload in ascii if your still having trouble

CaptainHowdy 09-22-2006 09:26 AM

Dude, you're scaring me...

Antonio 09-22-2006 09:30 AM

Quote:

Originally Posted by dvd316
remember, your domain goes where it says your-domain.com/

save as .htaccess and upload in ascii if your still having trouble


yup, uploaded this one and it works 100%, I know about the ACSI mode


thanks :thumbsup :thumbsup :thumbsup



now I'll have to think how to fuck with that guy, 90 bucks might not be that much but if I can fuck him really bad I will, no doubt about it !!!!!!!!!!!!

OG LennyT 09-22-2006 09:33 AM

Quote:

Originally Posted by Antonio
yup, uploaded this one and it works 100%, I know about the ACSI mode


thanks :thumbsup :thumbsup :thumbsup



now I'll have to think how to fuck with that guy, 90 bucks might not be that much but if I can fuck him really bad I will, no doubt about it !!!!!!!!!!!!

I've been there before... fusker got me for 150 bucks about a year ago.

Glad I could help :)

pornpf69 09-22-2006 10:03 AM

sorry to hear!!


All times are GMT -7. The time now is 10:35 PM.

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