backdrop / backdrop-issues

Issue tracker for Backdrop core.
144 stars 40 forks source link

Remove /web.config from Robots.txt #4335

Open vishwac09 opened 4 years ago

vishwac09 commented 4 years ago

Description of the bug Found references to web.config needed by IIS in Robots.txt. The file is not present in the root, alongside .htaccess. I know companies running Drupal on IIS, decision to add web.config or removing from line from Robots.txt to be discussed further.

Steps To Reproduce Check the Robots.txt any branch. Line 26 Disallow: /web.config

Actual behavior None

Expected behavior None.

Additional information Just remove unnecessary lines.

klonos commented 4 years ago

So that line is there to prevent robots from parsing that file (if it exists). This sounds like one less task devs working with IIS will need to do when working with Backdrop. Why is that bad again?

vishwac09 commented 4 years ago

Shouldn't there be a default provided ? Sites running on apache will show it in browser as it contains XML. Sites running on IIS wont :). If someones using Apache he wont add web.config ,what you think ?