Greenguy's Board


Go Back   Greenguy's Board > Newbie Questions
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2005-01-22, 11:00 AM   #1
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
RewriteEngine on
RewriteCond %{HTTP_REFERER} http://(www\.)?besthardcore.net(/)?.*$ [NC]
RewriteRule .* - [F]

RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?sensual-ladies.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?catyxxx.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.sensual-ladies.com [R,NC]
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Old 2005-01-22, 11:16 AM   #2
7hom4s
A woman is like beer. They look good, they smell good, and you'd step over your own mother just to get one!
 
Join Date: Dec 2004
Posts: 50
Quote:
Originally Posted by cd34
RewriteEngine on
RewriteCond %{HTTP_REFERER} http://(www\.)?besthardcore.net(/)?.*$ [NC]
RewriteRule .* - [F]

RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?sensual-ladies.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?catyxxx.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.sensual-ladies.com [R,NC]

Now it happens again. If I import this & upload it to my host, I end up getting redirected even if I try my main page.
Something just goes wrong every single time, I don't get it.

7hom4s
7hom4s is offline   Reply With Quote
Old 2005-01-23, 06:52 AM   #3
frankthetank
Stupid risks make life worth living
 
Join Date: Jan 2005
Location: Renesse NL
Posts: 386
Send a message via ICQ to frankthetank
Quote:
Originally Posted by 7hom4s
Now it happens again. If I import this & upload it to my host, I end up getting redirected even if I try my main page.
Something just goes wrong every single time, I don't get it.

7hom4s
When you upload the .htaccess code, make sure to use ASCII mode and not binary. Binary will probably mess up your file.
frankthetank is offline   Reply With Quote
Old 2005-01-23, 07:00 AM   #4
7hom4s
A woman is like beer. They look good, they smell good, and you'd step over your own mother just to get one!
 
Join Date: Dec 2004
Posts: 50
Quote:
Originally Posted by frankthetank
When you upload the .htaccess code, make sure to use ASCII mode and not binary. Binary will probably mess up your file.
I did upload it in ascii mode, actually it seems to be because I had htaccess files spread all over the place, instead of just one covering from my main directory. This combined with the support at my hosting, got these leeches of my back, at least for now

7hom4s
7hom4s is offline   Reply With Quote
Old 2005-01-22, 12:22 PM   #5
Useless
Certified Nice Person
 
Useless's Avatar
 
Join Date: Oct 2003
Location: Dirty Undies, NY
Posts: 11,268
Send a message via ICQ to Useless
Quote:
Originally Posted by cd34
RewriteEngine on
RewriteCond %{HTTP_REFERER} http://(www\.)?besthardcore.net(/)?.*$ [NC]
RewriteRule .* - [F]

RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?sensual-ladies.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.)?catyxxx.com(/)?.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp)$ http://www.sensual-ladies.com [R,NC]

I'm far from knowing what I'm doing, but could it be the lack of a ^ in front of http://(www\.)?besthardcore.net(/)?.*$ [NC] causing the problem? I have that in front of the domains I block.

Copy and paste this new line:
RewriteCond %{HTTP_REFERER} ^http://(www\.)?besthardcore.net(/)?.*$ [NC]
over the current besthardcore.net line in your .htaccess and give it a swing.
__________________
Click here to purchase a bridge I'm selling.
Useless is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:53 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc