lufbra
August 12th, 2006, 04:34 AM
On the webserver that I use, there's a .htaccess file added that basically stops folks from "hot linking" images from my webspace. Is there any way possible to have a directory created that will allow hot linking (say the directory is name "images"), and if so, what wouuld the .htaccess need adding to it? I've included the .htaccess file text....
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.daves-pub.com
AuthUserFile /*****/*****/public_html/_vti_pvt/service.pwd
AuthGroupFile /*****/*****/public_html/_vti_pvt/service.grp
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.daves-pub.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.daves-pub.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.daves-pub.com [NC]
RewriteRule .*\.(gif|GIF|jpg|JPG)$ http://www.daves-pub.com/files/error.gif [R]
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.daves-pub.com
AuthUserFile /*****/*****/public_html/_vti_pvt/service.pwd
AuthGroupFile /*****/*****/public_html/_vti_pvt/service.grp
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://www.daves-pub.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.daves-pub.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.daves-pub.com [NC]
RewriteRule .*\.(gif|GIF|jpg|JPG)$ http://www.daves-pub.com/files/error.gif [R]