title: Drupal Module installation error- File Transfer failed, reason: /mysite.com/sites/all/modules is outside of the /mysite.com
body: <p>I have installed Drupal on Windows 2012 R2 (IIS 8.5) on my DEV and TEST servers.  They are clean / out-of-the-box installations.  My DEV environment is working fine, but I can’t install modules on my TEST environment.  I’ve gone over the installations trying to figure out what is different, but I’ve been beating my head against the wall and they seem identical.  Clearly they are not.</p>
  
  <h1>Problem</h1>
  
  <p>When installing a module, I get this error:</p>
  
  <blockquote>
    <p>Installation failed! See the log below for more information.</p>
    
    <p>module_filter</p>
    
    <blockquote>
      <p>•Error installing / updating</p>
      
      <p>•File Transfer failed, reason: /mysite.com/sites/all/modules is outside of the /mysite.com</p>
    </blockquote>
  </blockquote>
  
  <p>(Note this is from the Authorize.php)</p>
  
  <p>The permission on my public download folder seems fine – the module uploads and extracts just fine.  </p>
  
  <p>My public file system path is set to “sites/default/files” and my temporary directory is set to “sites/default/files/tmp”.</p>
  
  <p><em>I can't figure out why it thinks the modules folder is outside of my root site!</em></p>
  
  <p>I’m stumped.  Any help would be appreciated!!!</p>
  
  <p>Thanks</p>
  
  <p>Tom Hundley</p>