Forum Moderators: phranque
Here's my setup.
Primary Domain & 5 Sub-Domains.
4 Sub-Domains have viewable content.
The last sub-domain is a storage facility for media (images, sounds, movies, etc.) served by the rest of my site. It has no actual content.
Can someone help me with the htaccess code to block every domain except my own primary and sub-domains from accessing the content on the last sub-domain?
I'm thinking that by allowing only my own domain to access the media, it should stop the hotlinkers, and sites that embed the media into the page serving it up.
I would also like to redirect the hotlinkers to a custom 403 without creating a loop.
This is what has kept me from experimenting.