0

我想在不同的路径(确切地说,/beta)下加载我的 Django 应用程序,而不是/. 在httpd配置中设置不同的根路径后,我在所有页面中都收到 404 not found 错误。

首先httpd

WSGIScriptAlias / /home/mydomain.biz/public_html/_beta/magnet/django.wsgi

然后我只是将其更改//beta

WSGIScriptAlias /beta /home/mydomain.biz/public_html/_beta/magnet/django.wsgi

我的应用程序设置似乎出了点问题,但我现在不知道为什么。

4

0 回答 0