View Full Version : htaccess help
thorn
04-11-2002, 09:18 PM
Hi, I'm a newbie & hope someone can help. Am using this htaccess file:<br /><br />RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*mysite.com/ [NC]<br />RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*www.mysite.com/ [NC]<br />RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*www.avs.com/ [NC]<br />RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*avs.com/ [NC]<br /><br />RewriteRule /* <a href="http://somewhere.com" target="_blank">http://somewhere.com</a> [R,L]<br /><br />Works ok for viewing image files, but will not allow me to download movie files (avi, mov, mpg etc.) First thought it was my dl manager, disabling changes nothing, using right click & save as I download the somewhere.com html.<br /><br />Any help??<br /><br />Oh, this is a NT server running apache!!!!!!!<br /><br />Thanks... thorn
Jorge
04-11-2002, 09:39 PM
1/ you are checking http referer in your .htaccess, movie players unlike browsers (which you are using to view your pics) do not have to send http referer header.<br />hence, your .htaccess does not recognize your page, and redirects you elsewhere.<br />2/ on the top of this page you find "search" link, look for "movie hotlink"<br />3/ save your movies as www_mysite_org_my_dick_in_your_nose_1.avi,<br />watch your logs,<br />change your movie directory once a while,<br />watermark your clips,<br />and look for different ways to protect your bandwidth ~ cookies, scripts<br />J. <img border="0" alt="[Hi]" title="" src="graemlins/hi.gif" />
gigletfly
04-11-2002, 09:54 PM
Ask your web administrator is the best way!!! <img border="0" alt="[Hi]" title="" src="graemlins/hi.gif" />
thorn
04-12-2002, 02:14 PM
Thanks, cookies did the trick....
vBulletin® v3.7.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.