Test for DOCROOT file and set env var