creep
04-11-2004, 01:07 AM
I read in the tools section how to stop people from direct linking with the .htaccess text. I must be doing something wrong because I can still direct link to the graphics on my site.
|
View Full Version : Stop direct links creep 04-11-2004, 01:07 AM I read in the tools section how to stop people from direct linking with the .htaccess text. I must be doing something wrong because I can still direct link to the graphics on my site. lefty 04-11-2004, 01:09 AM What is the code you're using? Also, are you sure your host supports .htaccess? creep 04-11-2004, 01:23 AM What is the code you're using? Also, are you sure your host supports .htaccess? I used this code: RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?houseofgianna.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://(www\.)?houseofgianna.com.*$ [NC] RewriteRule \.(gif|jpg)$ - [F] Maybe I put the code in the wrong place. Do I just put a notepad document with that code in the same folder as my index? Also, how can I find out if my server supports .htaccess? pb&j 04-11-2004, 03:37 AM the document with that text must be saved as an "all files" type and be named... ".htaccess" you will have to check your hosts FAQ or HELP areas to see if they support use of this type of file or you can email them directly. |