README.txt 1007 B

1234567891011121314151617181920
  1. In this directory you will find examples of ISAPI filters and extensions.
  2. The filter loading mechanism works like this:
  3. * IIS loads the special Python "loader" DLL. This DLL will generally have a
  4. leading underscore as part of its name.
  5. * This loader DLL looks for a Python module, by removing the first letter of
  6. the DLL base name.
  7. This means that an ISAPI extension module consists of 2 key files - the loader
  8. DLL (eg, "_MyIISModule.dll", and a Python module (which for this example
  9. would be "MyIISModule.py")
  10. When you install an ISAPI extension, the installation code checks to see if
  11. there is a loader DLL for your implementation file - if one does not exist,
  12. or the standard loader is different, it is copied and renamed accordingly.
  13. We use this mechanism to provide the maximum separation between different
  14. Python extensions installed on the same server - otherwise filter order and
  15. other tricky IIS semantics would need to be replicated. Also, each filter
  16. gets its own thread-pool, etc.