View Single Post
Old 10-02-2012, 06:29 PM   PM User | #3
Inigoesdr
Super Moderator


 
Inigoesdr's Avatar
 
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,601
Thanks: 2
Thanked 397 Times in 390 Posts
Inigoesdr is a jewel in the roughInigoesdr is a jewel in the roughInigoesdr is a jewel in the rough
Quote:
Originally Posted by durangod View Post
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 View Post
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 RewriteRule will usually have an L flag to prevent any further rules from executing.
Inigoesdr is offline   Reply With Quote
Users who have thanked Inigoesdr for this post:
durangod (10-02-2012)