![]() |
Looking for a rewrite exception
Hi i have a rewrite that helps stop my hotlinking problem but i need to make an exception for one of my sites, the sites are both on the same server.
here is the rewrite Code:
so if the referer is from http://www.newsite.com it is ok for them to link the image. I have two sites, and i have members that belong to both sites, they want to be able to link images from the other site. Thanks Update: did some reading and it seems like i can just use the same thing but with an L option which will not execute the rest. So if i use it like this i wonder if it will work. Code:
UPDATE: well that totally blew up right in my face lol guess that doesnt work lol |
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.
Do i need to add all all my add on domains on that cpanel account to that rewrite above? |
Quote:
Quote:
Code:
|
Thanks you so very much, it makes sense now. I have been reading the article on this forum of how to do this as well. You really make it clear and i thank you very much.. :)
|
well it didnt work and not sure why.
here is what i have, the problem all images from all the sites themselves get blocked including the index page and even this one gets blocked Code:
http://www.site3.com/styles/ca_black/imageset/logo.jpgi copied and pasted this in each of the domains htaccess files. Code:
|
ok i think i may have found it, the site is a phpbb site and the gallery has its own htaccess set up for each image dir, i finally thru searching all the folders found the image that kept comming up that said not auth. So thats where it is comming from, not Cpanel and not the server, the phpbb gallery is blocking it.
So at least i know where to research. Thanks for your help your awesome peace :) |
| All times are GMT +1. The time now is 05:08 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.