有没有办法在没有mod wsgi或mod_passenger的情况下运行Django应用程序?

2024-10-02 22:34:28 发布

您现在位置:Python中文网/ 问答频道 /正文

我一直在尝试在一个共享主机上设置一个Django应用程序,但我不允许使用mod\wsgi和mod_passenger。我在网上搜索了一下,找到了一些关于FastCG的东西,但我不太确定。 问题是,我使用的是共享主机,支持人员告诉我:

The mod_wsgi needs to modify Apache so that it can create its own mini server to handle .py files, but for obvious reasons we just are not able to do that for a shared server.

If this is something you really need I would suggest looking at a VPS where you are able to make any modifications you desire.

我想知道对于这种情况是否有任何已知的替代方案,即需要在共享托管服务上运行Djando应用程序,并且不允许使用mod wsgi和mod_passenger。在


Tags: thetodjangoyoumod应用程序wsgifor