What do i need to add


#1
order deny,allow deny from all allow from 12.3.45.6 allow from .example.com

ErrorDocument 403 http://www.geocities.com/qualitee80/forbidden.html
ErrorDocument 404 /missing.html
ErrorDocument 500 /internal_error.html

my htaccess file is located in my root level

what do i need to add so that my allowed domain and ip will not be redirected to my forbidden page? and so they will be able to download files?

Again, please explain in layman’s terms? I am very new to this.

Thanks in advance!


#2

If you’re trying to prevent remote hotlinking to your files (which it sounds like you are), why not use DreamHost’s easy-to-use solution (it automates the .htaccess configuration for you). https://panel.dreamhost.com/kbase/index.cgi?area=3014


MacManX.com
I don’t work here. I’m just your typical support forum volunteer.