Hi,
I'm trying to allow only certain domais and subdomains to access a specific folder in my domain.
Actually, I have one subdomain, sub.domain.com, in a dir called sub in my domain.com
What I want is that the user must call one page like sub.domain.com/page.html but from the right referrer.
No other domains might call it unless they are authorized (like domain1.com or domain2.com for instance)
Also, in those authorized domains, they migh be in the form
www.domain1.com
I'm trying the following:
AuthType Basic
<Limit GET>
order deny,allow
deny from all
allow from .domain.com
allow from .sub.domain.com
allow from .domain1.com
allow from .domain2.com
</Limit>
but I get an 403 for all!!!
Any ideas?
Kind regards,
JKepler