Forum Moderators: phranque
I have it setup so that the subdomain news.mydomain.com points to /news
What I would like to achieve with htaccess is to allow only access to the directory if somebody types in the subdomain and prevent any access through: mydomain.com/news
Is this possible through htaccess?
I have not yet found a solution.
Any help appreciated :-)