Quote:
Originally Posted by durangod
Ok can someone at least tell me why when i put the original in the root domain htaccess file it affects all the other add on domains. If they have their own .com the htaccess from the root domain should not affect it correct.
|
It depends on your server configuration and the folder structure. If all of your domains are aliases that point to the same folder then they will all look at the same .htaccess.
Quote:
Originally Posted by durangod
Do i need to all all my add on domains on that cpanel account to that rewrite above?
|
Yeah, those other items are exceptions. It's basically saying:
Code:
If the referrer is not "http://xxxxxx.com" using a case-insensitive comparison
RewriteCond %{HTTP_REFERER} !^http://xxxxxx.com$ [NC]
Send a forbidden status
RewriteRule .*\.(jpg|jpeg|gif|png|bmp|wmv)$ - [F,NC]
Though, the Rewrite
Rule will usually have an L flag to prevent any further rules from executing.