I have IIS 7.5 with ISAPI_Rewrite(Helicon)
I'm trying to do so that the robots.txt from each hosted site will be the same.
For that purpose I have one dummy site(sometestsite.com) which has robots1.txt(which I want to be reused on each other site)
And I have following RewriteRule:
RewriteRule ^(.*)/robots.txt$ http://sometestsite.com/robots1.txt
When I am requesting http://sometestsite.com/robots.txt
it displays contents of http://sometestsite.com/robots1.txt
as expected, but when I am requesting http://completelydifferentsite.com/robots.txt
it redirects me to http://sometestsite.com/robots1.txt
.
What I am doing wrong? Also if here is another approach to achieve my goal I will be very thankful to hear one.