我有一個網站,我已經建立在我試圖讓我們的企業Apache服務器上的工作(在Debian),我們在我的工作場所內聯網的Django。不幸的是,每當我嘗試導航到我的網站時,Apache都會一直返回服務器錯誤。雖然我可以導航到靜態文件夾。我的Apache配置和WSGI腳本如下所示...Django的網站與WSGI失敗
lbirdf.wsgi
import os
import sys
sys.path.append('/home/lbi/rdfweb/web')
sys.path.append('/home/lbi/rdfweb/web/lbirdf')
os.environ['DJANGO_SETTINGS_MODULE'] = 'lbirdf.settings_production'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
Apache的配置
Listen 8080
<VirtualHost *:8080>
ServerName server1
WSGIScriptAlias /rdfweb /home/lbi/rdfweb/web/lbirdf/apache/lbirdf.wsgi
Alias /statics /home/lbi/rdfweb/web/lbirdf/statics
Alias /admin_media /home/lbi/rdfweb/web/lbirdf/admin_media
<Directory /home/lbi/rdfweb/web/lbirdf/apache>
Order allow,deny
Allow from all
</Directory>
<Directory /home/lbi/rdfweb/web/lbirdf/admin_media>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
上,我可能會錯誤任何想法?
請您發佈服務器錯誤? – Jens 2010-04-22 14:14:41