Forum Moderators: phranque
One thing to note is that if I create the folder with the file /folder/test.txt, then I can read it on:
www.example.com/folder/test.txt
1.example.com/folder/test.txt
2.example.com/folder/test.txt
3.example.com/folder/text.txt
I don't want this. I only want /folder/ to be able to be accessed through the www subdomain.
Is there an .htaccess line I can create and put in /folder/ to prevent access through other domains?
Thanks
RewriteRule ^folder/ - [R=404,L]
Jim