I created a .htaccess file, uploaded it to my server, and...nothing happened.
Buffistechnology 2: You Made Her So She Growls?
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!
How did you test?
Try that page I linked to, after clearing your cache.
I did. Nothing.
I checked my provider, and it gives me the same code, so there's no reason for it to not work. Hm. I'm sure it's something ridiculous.
Give me an image URL.
The .htaccess file is in /graphics/revue/auction/? And you're using the exact text I suggested? If not, can you post it?
RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(.*.)?emahollywood.com/.*$ [NC] RewriteRule .*.(jpg|jpeg|gif)$ [link] [R,NC]
I put it both in that folder and in my main folder. It thought it was supposed to work in all sub folders, but when I didn't I uploaded to the auction folder, too.
Okay, I'm way too tired to be sensible right now, so I'll look at it again in the morning, if that's okay.
Also, the way I troubleshot mine was to take out the line that allowed that site to see its
own
images, and see if it really broke it hard. That is the RewriteCond %{HTTP_REFERER} !^http://(.*.)?emahollywood.com/.*$ [NC]
line.
Tomorrow!
See Blocked Inline-Images here.
ETA: Comparing their example to what you posted Allyson, the only major difference I see is in the Rewrite Rule:
RewriteRule .*\\.gif$ - [F]