comparison docs/installation_iis.rst @ 8368:e5ccabbc3cd7 stable

release: merge default to stable for 0.6.0
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Sat, 02 May 2020 21:20:43 +0200
parents 01aca0a4f876
children
comparison
equal deleted inserted replaced
8320:b1b1f69b1f28 8368:e5ccabbc3cd7
1 .. _installation_iis: 1 .. _installation_iis:
2
3 .. warning:: This section is outdated and needs updating for Python 3.
2 4
3 ===================================================================== 5 =====================================================================
4 Installing Kallithea on Microsoft Internet Information Services (IIS) 6 Installing Kallithea on Microsoft Internet Information Services (IIS)
5 ===================================================================== 7 =====================================================================
6 8
64 This will generate a ``dispatch.py`` file in the current directory that contains 66 This will generate a ``dispatch.py`` file in the current directory that contains
65 the necessary components to finalize an installation into IIS. Once this file 67 the necessary components to finalize an installation into IIS. Once this file
66 has been generated, it is necessary to run the following command due to the way 68 has been generated, it is necessary to run the following command due to the way
67 that ISAPI-WSGI is made:: 69 that ISAPI-WSGI is made::
68 70
69 python2 dispatch.py install 71 python3 dispatch.py install
70 72
71 This accomplishes two things: generating an ISAPI compliant DLL file, 73 This accomplishes two things: generating an ISAPI compliant DLL file,
72 ``_dispatch.dll``, and installing a script map handler into IIS for the 74 ``_dispatch.dll``, and installing a script map handler into IIS for the
73 ``--virtualdir`` specified above pointing to ``_dispatch.dll``. 75 ``--virtualdir`` specified above pointing to ``_dispatch.dll``.
74 76
117 ISAPI-WSGI wrapper above uses ``win32traceutil``, which is part of ``pywin32``. 119 ISAPI-WSGI wrapper above uses ``win32traceutil``, which is part of ``pywin32``.
118 120
119 In order to dump output from WSGI using ``win32traceutil`` it is sufficient to 121 In order to dump output from WSGI using ``win32traceutil`` it is sufficient to
120 type the following in a console window:: 122 type the following in a console window::
121 123
122 python2 -m win32traceutil 124 python3 -m win32traceutil
123 125
124 and any exceptions occurring in the WSGI layer and below (i.e. in the Kallithea 126 and any exceptions occurring in the WSGI layer and below (i.e. in the Kallithea
125 application itself) that are uncaught, will be printed here complete with stack 127 application itself) that are uncaught, will be printed here complete with stack
126 traces, making it a lot easier to identify issues. 128 traces, making it a lot easier to identify issues.
127 129