I have been trying to set up mod_wsgi for the first time and have had issues when attempting to verify my installation with mod_wsgi-express start-server. When I run it I get the following output:
Server URL : http://localhost:8000/ Server Root : C:/Users/ADMIN~1.DES/AppData/Local/Temp/mod_wsgi-localhost-8000-Admin Server Conf : C:/Users/ADMIN~1.DES/AppData/Local/Temp/mod_wsgi-localhost-8000-Admin/httpd.conf Error Log File : C:/Users/ADMIN~1.DES/AppData/Local/Temp/mod_wsgi-localhost-8000-Admin/error_log (warn) Operating Mode : daemon Request Capacity : 5 (1 process * 5 threads) Request Timeout : 60 (seconds) Startup Timeout : 15 (seconds) Queue Backlog : 100 (connections) Queue Timeout : 45 (seconds) Server Capacity : 20 (event/worker), 20 (prefork) Server Backlog : 500 (connections) Locale Setting : en_GB.cp1252 WARNING: The ability to use the start-server option on Windows WARNING: is highly experimental and various things don't quite WARNING: work properly. If you understand a lot about using WARNING: Python on Windows and Windows programming in general, WARNING: and would like to help to get it working properly, then WARNING: you can ask about Windows support for the start-server WARNING: option on the mod_wsgi mailing list. httpd.exe: Syntax error on line 163 of C:/Users/Admin.DESKTOP-DC00DVS/AppData/Local/Temp/mod_wsgi-localhost-8000-Admin/httpd.conf: Cannot load C:/venvs/.env/Lib/site-packages/mod_wsgi/server/mod_wsgi.cp314-win_amd64.pyd into server: The specified module could not be found. These are the steps I took during installation: 1) I downloaded the latest binaries from Apache Lounge (version 2.4.66) into C:\Apache24 2) I downloaded Python (version 3.14.3) using the install manager and moved it into C:\Program Files 3) I created a virtual environment at C:\venvs\.env 4) I ran pip install mod_wsgi within the virtual environment (pip version 25.3, if it matters) The wording on the PyPi page seemed to imply that mod_wsgi-express start-server was UNIX only, but I couldn't find documentation on how to run it on Windows. Any help would be appreciated. Thanks for your time. -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/modwsgi/37cfd741-6a5a-4de0-adec-e8a7a43e08c9n%40googlegroups.com.
