Revision: 12044
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 28, 2009 17:06 by HeWo42
Initial Code
RewriteEngine On ## PREVENT HOTLINKING ### SetEnvIfNoCase Cookie SESSIONNAME=(.*) IS_OK SetEnvIfNoCase Referer "^http://(www\.)?example\.com(/.*)?$" IS_OK #SetEnvIfNoCase Referer "^http://(www\.)?example\.net(/.*)?$" IS_OK <FilesMatch "\.(avi|bmp|flv|gif|jpe?g|mov|mp(3|4|e?g)|png|swf|tiff?|wm(a|v))$"> Order deny,allow deny from all allow from env=IS_OK ErrorDocument 403 http://127.0.0.1/ </FilesMatch>
Initial URL
Initial Description
SESSIONNAME = Name of your session cookie; example.com = Domainname of your site
Initial Title
PREVENT HOTLINKING
Initial Tags
htaccess
Initial Language
Apache