![]() |
I need an .htaccess
Hello!
I have bought a new hosting, now I want to upload an .htaccess to prevent hotlinking, and one for 404's does somebosy have an example that I can use? thX! |
google.com works real good
|
ErrorDocument 403 http://www.adult-web-master.com/
ErrorDocument 404 http://www.adult-web-master.com/ ErrorDocument 500 http://www.adult-web-master.com/ ErrorDocument 401 http://www.adult-web-master.com/ RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://([a-z0-9-]+\.)*yourdomain.com/ [NC] RewriteRule .*\.[jJ][pP][gG]$ http://yourdomain.com/pic_with_your_url.jpg[R,L] |
|
thx sabai and vox! you saved me so much work!!
|
Quote:
|
|
All times are GMT -7. The time now is 01:44 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123