X-Robots-Tag across Multiple URL

cn flag

I need to add X-Robots-Tag in my apache config where it can be applied to multiple URL's which are read from a file and apply the X-Robots-Tag HTTP header, is this possible ? Any pointers on how to accomplish it? Below Example shows different file types, however is it possible to read the file path from file and apply the http header?

   <Files ~ "\.(png|jpe?g|gif)$">
  Header set X-Robots-Tag "noindex"

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.