Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PHP help needed
#8
Would this be the correct syntax for adding to the htaccess file to prevent hot linking or preventing people not on the website from downloading files ?

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?example.com/.*$ [NC]
Reply


Messages In This Thread
PHP help needed - by saint - 2012-12-26, 03:44:45
RE: PHP help needed - by shawn_a - 2012-12-26, 05:08:43
RE: PHP help needed - by saint - 2012-12-27, 20:52:31
RE: PHP help needed - by JWH_Matthew - 2012-12-27, 23:14:25
RE: PHP help needed - by shawn_a - 2012-12-28, 04:13:00
RE: PHP help needed - by saint - 2013-01-02, 02:02:26
RE: PHP help needed - by shawn_a - 2013-01-02, 02:07:31
RE: PHP help needed - by saint - 2013-01-02, 03:18:47
RE: PHP help needed - by shawn_a - 2013-01-03, 00:14:13
RE: PHP help needed - by adam bucky - 2013-03-08, 01:36:18



Users browsing this thread: 1 Guest(s)