在Mac OS (Mojave)中将Apache-httpd从2.4.33升级到2.4.39之后,我遇到了这个问题:
[wsgi:alert] No such file or directory: mod_wsgi (pid=XXXX): Couldn't bind unix domain socket '/usr/local/opt/httpd/logs/wsgi.xxxxx.11.1.sock'
请告诉我需要在httpd.conf中添加哪些配置来缓解此问题。因为服务器无法访问,并出现503错误。
发布于 2019-04-29 12:45:08
在我将以下内容添加到httpd.conf行之后:
WSGISocketPrefix /var/run/wsgi服务器现在运行得很顺利。
参考:https://modwsgi.readthedocs.io/en/develop/user-guides/configuration-issues.html
https://stackoverflow.com/questions/55897086
复制相似问题