![]() |
hotlinking problem using .htaccess - help needed please
simple problem, some advice on how to solve this would be much appreciated.
below is the code on my file RewriteEngine on RewriteCond %{HTTP_REFERER} !^http://mysite.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.mysite.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://secondsite.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.secondsite.com/.*$ [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC] Hotlink prevention is working but when accessing the main page on both sites all the images are missing. e.g. http://mysite.com/ - OK http://mysite.com - fucked http://www.mysite.com/ - OK http://www.mysite.com - fucked Just when the trailing slash isn't there it's fucked. Any suggestions? Thanks djmick |
where r all the tech gurus out there?
somebody must have a solution for me!!!!!!! djmick |
RewriteCond %{HTTP_REFERER} !^http://www.url.one [NC]
RewriteCond %{HTTP_REFERER} !^http://www.url.two [NC] get rid of the trailing slash |
| All times are GMT -7. The time now is 09:55 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123