GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   looking for some basic htaccess coding (https://gfy.com/showthread.php?t=141968)

archer 06-11-2003 10:40 AM

looking for some basic htaccess coding
 
newby question: Just looking for some basic htaccess code to prevent surfers from using a bookmark to return to my "Content" page, and prevent other websites from "Hot linking" your files and pics. If a surfer does use a bookmark to access your "Content" directory or tries to hotlink pics, i'd like to be able to send them 'elsewhere'

any help would be appreciated.

andi_germany 06-11-2003 10:45 AM

try this link:


http://www.bignosebird.com/apache/a13.shtml

jact 06-11-2003 10:51 AM

From the above example, exclude the following:

RewriteCond %{HTTP_REFERER} !^$

As that will give access to bookmarkers. Just make it qualify with a referer from your domain. Also consider adding in your website's IP address as a referer aswell, some people/browsers for some odd reason use IP instead.


All times are GMT -7. The time now is 10:36 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123