Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/heroku/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在heroku上实现对uwsgi的路由支持?_Heroku_Pip_Pcre_Uwsgi_Buildpack - Fatal编程技术网

如何在heroku上实现对uwsgi的路由支持?

如何在heroku上实现对uwsgi的路由支持?,heroku,pip,pcre,uwsgi,buildpack,Heroku,Pip,Pcre,Uwsgi,Buildpack,我正在使用uwsgi在heroku上提供我的应用程序。部署时似乎不支持路由,因为不知何故uwsgi构建时没有regex功能。日志上写着: !!! no internal routing support, rebuild with pcre support !!! 我已经启用了buildpack,它似乎支持在heroku机器上安装pcre(perl兼容的正则表达式) 但是,uwsgi仍然无法使用pcre/路由进行编译: >heroku run pip install -I uwsgi .

我正在使用uwsgi在heroku上提供我的应用程序。部署时似乎不支持路由,因为不知何故uwsgi构建时没有regex功能。日志上写着:

!!! no internal routing support, rebuild with pcre support !!!
我已经启用了buildpack,它似乎支持在heroku机器上安装pcre(perl兼容的正则表达式)

但是,uwsgi仍然无法使用pcre/路由进行编译:

>heroku run pip install -I uwsgi

.. wall of text ..

################# uWSGI configuration #################

locking = pthread_mutex
json = False
zlib = True
kernel = Linux
debug = False
capabilities = False
xml = libxml2
routing = False
ssl = True
execinfo = False
malloc = libc
filemonitor = inotify
pcre = False
plugin_dir = .
yaml = embedded
event = epoll
ifaddrs = True
timer = timerfd

############## end of uWSGI configuration #############
total build time: 23 seconds
*** uWSGI is ready, launch it with /app/.heroku/python/bin/uwsgi ***

如何在heroku上的uwsgi中启用路由?

我怀疑uwsgi编译没有在编译路径中找到pcre源,因此无法将其添加到中