: Does this work?  When trying to display with a URL such as
: "solr/sandbox/admin/file/?file=/mnt/solr/schema.xml" from the Solr
: admin console, the following error occurs:
: 
: type Status report
: 
: message Can not find: schema.xml [/mnt/solr/sandbox/conf/mnt/solr/schema.xml]

As written the ShowFileRequesHandler will only allow you to access files 
in the "conf" dir for the current SolrCore -- even if you specify an 
absolute path, it treats it as being relativie hte conf dir (hence the 
path returned by the error message)

it's a psuedo safety feature to prevent requests like

        /admin/file/?file=/etc/password


-Hoss

Reply via email to