我有一个Django应用程序托管在我的主域名(example.com)上,现在我需要在子域名(forum.example.com)上托管PHP应用程序。
在主域名的目录中,我有以下.htaccess
条目:
SetHandler mod_python
PythonPath "/home/.../apps/example'] + sys.path"
PythonOption mod_python.importer.path "['/home/vlive/python']+ sys.path"
PythonHandler django.core.handlers.modpython
#PythonDebug On
SetEnv DJANGO_SETTINGS_MODULE example.settings
SetEnv PYTHON_EGG_CACHE /tmp/egg-cache
目前,当我加载子域名 (forum.example.com) 时,仍然会看到主站点 (example.com)。
我该如何解决这个问题?