-
Posts
1,356 -
Joined
-
Last visited
Everything posted by boxturt
-
Thanks Jim but unfortunately it didn't work. I changed 'somesite', and 'bad_referer' to match my needs and put it in htaccess and no go. Then I backed up that one and started fresh and put the code in a fresh htaccess. It's the only thing in the file and it doesn't work. Soooooooo confused. BTW, this all started because I noticed I was starting to get hits from sites I had previously blocked, which is odd in itself.
-
Looks frightening but I'll give it a go a little later. I've got to teach a few students today, yup, even on Sunday. Thanks, I'll report back
-
Nope, but I will Thanks
-
I have been working on this for days, and I'm sure you've seen several posts from me related to mod rewrite and trying to block sites. I have been reading and reading and trying and trying and I'm just not getting it. I actually dumped my entire .htaccess file (backed up of course) and put only the following in it: >RewriteEngine on #I tried with and without RewriteBase / RewriteBase / RewriteCond %{HTTP_REFERER} (somesite\.com) [NC] RewriteRule .* bad-referer.php [L] #or RewriteRule .* - [F] I linked from somesite.com and it doesn't work. I don't get it, what'd I miss?
-
Hmmmm............ so I can have but don't need to have? This is where I get lost. I did have [L] after each RewriteRule but it seems to stop reading at that first one, eg: >RewriteEngine On RewriteCond %{HTTP_REFERER} (spamproduct1) [NC,OR] RewriteCond %{HTTP_REFERER} (spamproduct2) [NC] RewriteRule .* - [F,L] RewriteCond %{HTTP_USER_AGENT} ^grabber1 [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^grabber2 [NC] RewriteRule .* - [F,L] RewriteCond %{HTTP_REFERER} (badsite\.info) [NC,OR] RewriteCond %{HTTP_REFERER} (baddersite\.com) [NC] RewriteRule .* - sorry-dude.php [L] So it doesn't seem to get past the first rule, and what seems to have happenned is the rules for denying grabber bots are getting ignored. So 30,000 hits later.........
-
I just need to clarify that the [L] at the end of a RewriteRule means the end.........of what? Does it need to be the very last thing in htaccess? Or does it matter? >order allow, deny deny from 1**.***.**.**1 deny from 2**.***.**.**2 allow from all RewriteEngine On RewriteCond %{HTTP_USER_AGENT} ^grabber1 [NC,OR] RewriteCond %{HTTP_USER_AGENT} ^grabber2 [NC] RewriteRule .* - [F] RewriteCond %{HTTP_REFERER} (spamproduct1) [NC,OR] RewriteCond %{HTTP_REFERER} (spamproduct2) [NC] RewriteRule .* - [F] RewriteCond %{HTTP_REFERER} (badsite\.info) [NC,OR] RewriteCond %{HTTP_REFERER} (baddersite\.com) [NC] RewriteRule .* - sorry-dude.php [L] Redirect permanent /hints.html http://mysite.com/home.html The above is severely edited but the format is correct? I can keep adding conditions as long as the [L] is at the end? I'm sure you can tell I'm a little confused, I can't even phrase the question intelligently. As always, thanks.
-
Awesome! Good job. I hope it leads to bigger and better things
-
This post sort of reopens a thread from last month that didn't seem finished regarding disallowing access from myspace. I'm starting to get pummeled by both myspace.com and xanga.com for mainly audio files. Hotlink protection doesn't seem to work, htaccess doesn't seem to work (by host or referrer). I've moved files, I've renamed them but I obviously can't keep doing that all the time. I'm lost. I just noticed I have accidently posted this in the wrong spot (probably) so feel free to move.
-
Nevermind, for some reason I didn't see the previous post
-
This is not so much fun and games as it is a humorous and ironic observation: When composing a letter in Thunderbird 1.5 with spell-check the word 'internet' is flagged as a missplelled word.
-
Saturday In The Park next: Steve Miller
-
It's Good To Be King next: Randy Travis
-
Another Reason To Upgrade To Thunderbird 1.5
boxturt replied to TCH-Rob's topic in Software/Scripts/Other Alerts
Same here, thanks. It really is a nice email client. -
Yes it does. Thanks very much Thomas.
-
I too just realized I never added this site and it's been here several years http://naugatuckarts.org Naugatuck Arts Commission Established to foster, promote, encourage and celebrate the excellence, enjoyment and vitality of the arts in the Town of Naugatuck, Connecticut. Non - profit proper link back bottom of page(s) Thanks
-
We're Not Gonna Take It next: Klaatu
-
Ain't Misbehavin' next: Dan Fogelberg
-
Fire and Rain next: Andrew Gold
-
How Am I Supposed To Live Without You next: Carol King
-
Watching The Detectives next: George Harrison
-
disregard - Bruce beat me to it
-
Jack and Diane next: Paul Simon
-
A reply from daughter: Thanks guys. Happy kid that can now easily stay in contact with mom. Happy mom = happy me
-
Thanks everyone. I will forward that info to her down in Oz and have her check her settings for this as well as compare them to another working machine. Now that we know where to look I expect (hope) that this will clear up. I don't think I ever changed hers (or mine for that matter) so we'll see. oh. the blue one. oops.
