I have two domains for the same website. example.com and example2.com .
I don't want the
/image/pic.jpg to be accessible for the example.com
It means, if someone try to visit
example.com/image/pic.jpg , it will show him/her error. But I want it to be accessible for example2.com visitors. So if someone visit
example2.com/image/pic.jpg , they will be able to to see the picture
How can I do that using htaccess?