.htaccess file and hot linking

Status
Not open for further replies.

TheJediSlayer

Posts: 164   +0
Hello, I'm trying to find out how to make it so that my .htaccess file only blocks certain directories from getting hot linked. I don't wish to block all directories from displaying images outside of my website, just certain directories. If anyone could help, I would appreciate it.

Tyler
 
EACH directory has its own .htaccess file

see this description

the bigger issue is getting the webserver to first see it and then to honor it.
If the web hosting company has not enabled the feature, just forget it and cry in your beer --
choose a better one next time. if it is enabled, the upload and set the perms to x600.
Now you need the webserver to be recycled (stop, immediately restarted) to
find the file (as this file is read only when the server starts and is read into the server and cached).
 
Status
Not open for further replies.
Back