This class provides a mechanism to use a configurable robots.txt file,
outside of the .war of the application. In order to configure it add the
following to the
httpd
section of the
gerrit.conf
file:
[httpd]
robotsFile = etc/myrobots.txt
If the specified file name is relative it will resolved as a sub directory of
the site directory, if it is absolute it will be used as is.
If the specified file doesn't exist or isn't readable the servlet will
default to the
robots.txt
file bundled with the .war file of the
application.