RewriteCond %{HTTP_REFERER} ^http://(.*.)?xanga.com/.*$ [NC]
This line, there's no ! in front of ^http:// correct?
I'm trying to figure out why b.org matched on this rule.
Cordelia ,'You're Welcome'
Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!
RewriteCond %{HTTP_REFERER} ^http://(.*.)?xanga.com/.*$ [NC]
This line, there's no ! in front of ^http:// correct?
I'm trying to figure out why b.org matched on this rule.
Yup.
I can try again, if you're going to be around for a second or two.
Yup, for about another half hour.
Try: [link]
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://(.*.)?buffistas.org/.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://(.*.)?xanga.com/.*$ [NC]
RewriteRule .*\\.(jpg|jpeg|gif)$ [link] [R,NC,L]
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(.*\\.)?buffistas.org/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.*\\.)?provocateuse.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(.*\\.)?worldcrossing.com/.*$ [NC]
RewriteRule .*\\.(jpg|jpeg|gif)$ [link] [R,NC]
Damn.
That works.
I swear that's what I had in there earlier today ....
I got "hotlinking is bad."
I got xanga.gif.
Which Firefox helpfully resized so that the text was really teeny.
Browser caches. I had to clear mine before I'd get the teeny text.
I'm not even going to pretend to understand what I did wrong this morning.
Eddie, thank you VERY much. And thank you guys for clicking on stuff. Let me take buffistas out of that bad person list...
You'll be sure to let us know whatever reactions you get from excluding the naughty people, right?