title: How to install mod_wsgi on Windows+XAMPP in 2017
body: <p>Im a trying (hard) to set up environment for Django app on Windows with XAMPP.</p>
  
  <p><strong>What I have:</strong></p>
  
  <ul>
  <li>Windows 7 64bit</li>
  <li>Apache/2.4.25 (Win32)</li>
  <li>Python 3.6.1 <code>platform.architecture() = ('64bit', 'WindowsPE')</code></li>
  <li>Cygwin 2.9.0(0.318/5/3)</li>
  <li><code>MOD_WSGI_APACHE_ROOTDIR</code> pointing to <code>apache</code> dir in XAMPP installation</li>
  </ul>
  
  <p><strong>What I did already:</strong></p>
  
  <p>Tried to install with <code>pip install mod_wsgi</code> but it didn't work because <code>apxs</code> could not be found. So I've installed <code>httpd-devel</code> in Cygwin. Now it rises <code>collect2: error: ld returned 1 exit status</code> error with massive output that I can't understand.</p>
  
  <p>According to <a href="https://stackoverflow.com/a/45145068/842480">this</a>, I've downloaded WHL file, exctracted PYD file but when I want to run Apache I get syntax error on <code>LoadModule wsgi_module modules/mod_wsgi.pyd</code>: <code>Cannot load modules/mod_wsgi.pyd into server: The specified module could not be found.</code>. I've tried 3 versions of WHL.</p>
  
  <p>I'm new to Python/Django and WSGI and I'm already done ;-)</p>