![]() |
htaccess Not working Properly
Anyone see anything wrong?
AuthUserFile /dev/null AuthGroupFile /dev/null RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^.*greenapple.verisexy.net.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://66.28.252.3.*$ [NC] RewriteRule .*\.jpg$ http://www.greenapple.verisexy.net/404.html [R,L] RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^.*greenapple.verisexy.net.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://66.28.252.3.*$ [NC] RewriteRule .*\.jpeg$ http://www.greenapple.verisexy.net/404.html [R,L] RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^.*greenapple.verisexy.net.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://66.28.252.3.*$ [NC] RewriteRule .*\.gif$ http://www.greenapple.verisexy.net/404.html [R,L] RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^.*greenapple.verisexy.net.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://66.28.252.3.*$ [NC] RewriteRule .*\.mpg$ http://www.greenapple.verisexy.net/404.html [R,L] RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^.*greenapple.verisexy.net.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://66.28.252.3.*$ [NC] RewriteRule .*\.mpeg$ http://www.greenapple.verisexy.net/404.html [R,L] |
looks ok, what is happening?
I remember I was having troubles in my server and I had to edit the apache config file to add symlinks or some thing for the hotlinking to work without giving me errors serving up pages. |
http://www.theadultwebmaster.com/hos...r_errors.phtml
This article will explain whats wrong. You have completely ther wrong syntax. :thumbsup |
Quote:
|
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://greenapple.verisexy.net$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.greenapple.verisexy.net$ [NC] RewriteCond %{HTTP_REFERER} !^http://greenapple.verisexy.net/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.greenapple.verisexy.net/.*$ [NC] RewriteRule !.*\.(gif|jpg|jpeg|mpg|mpeg)$ - [NC,F] ErrorDocument 403 http://www.greenapple.verisexy.net/404.html I tryed that and my bandwidth dropped in half so I quickly pulled it. Either I have a ton of hotlinkers or somethings not working right |
Quote:
RewriteRule !\.(extensions|extensions)$ http://www.address.com/hotlink.htm [NC,R] Your RewriteRule is a little bit different. Yours: RewriteRule !.*\. Mine: RewriteRule !\.( Maybe that's the problem. :2 cents: |
Thanks, I will give it a try. Nice to see other freehost helping each other out instead of bashing =) That's what I call class!!!
|
Quote:
|
All times are GMT -7. The time now is 09:29 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123