0
我使用apache來運行我的django實例。 我的apache將django輸出翻倍。Django與Apache - 雙響應內容
所以在研究與開發我得到這個:
my response text
但阿帕奇 「生產」,這樣的:
my response text
my response text
我的虛擬主機配置是這樣的:
<VirtualHost *>
Alias /public /xxx/public
Redirect /robots.txt /public/robots.txt
<Directory "/xxx">
Order allow,deny
Allow from all
</Directory>
ServerName www.xxx.de
ServerAlias *.xxx.de
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE settings
SetEnv PYTHON_EGG_CACHE '/tmp/python-eggs'
PythonHandler django.core.handlers.modpython
PythonDebug Off
PythonPath "['', '/xxx'] + sys.pa
</VirtualHost>
我不不知道什麼是錯的,你知道嗎?
有趣的事情。這似乎是PythonHandler被評估過的兩次。 – 2010-07-18 13:30:00