OZONE Asylum
Forums
Stupid Basic HTML
.htaccess
This page's ID:
9632
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I only recently began to implement .htaccess in this site i'm working on (to disable file index viewing and create custom error pages etc.) I was then intrigued by the ability to block image downloads from sites other than the site hosting the image. For instance...if a competitor wanted to use a picture that was on the origional site, he couldn't use an absolute link to the site's image directory. In fact, I have it set up so that if someone tries to link to the origional image folder, a default Image replaces the inteded one. It's pretty cool...and discourages image/bandwidth thieves. This seems to work well...most of the time. However, occasionally even if the site is legitimate, ie...my site, the "stolen image" image shows instead...I can't figure out why. Any suggestions? Here is my .htaccess file code for my image folder below: RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://yachtingworldwide.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://216.120.234.155/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.yachtingworldwide.com/.*$ [NC] RewriteRule .*\.(gif
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »