0
我已經建立了我使用Django未處理的異常是由程序拋出
新網站起初一切進展順利的startApp,執行syncdb ......等
但問題的這個按摩
未處理的異常 應用程序拋出未處理的異常。
你可以看到 http://www.daqiqten.com/
這是我index.fsgi和.htacces
index.fcgi
#!/usr/bin/python
import sys, os
# Add a custom Python path. (optional)
sys.path.insert(0, "/home/daq")
# Switch to the directory of your project.
os.chdir("/home/daq/newproject")
# Set the DJANGO_SETTINGS_MODULE environment variable.
os.environ['DJANGO_SETTINGS_MODULE'] = "newproject.settings"
from django.core.servers.fastcgi import runfastcgi
runfastcgi(method="threaded", daemonize="false")
___________
.htacces
AddHandler fcgid-script .fcgi
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.fcgi/$1 [QSA,L]
很好的建議。告訴我們你發現了什麼! – slezica 2010-10-12 01:20:33