【发布时间】:2011-06-30 12:20:47
【问题描述】:
我最近使用 django mingus 启动了一个站点,但问题是 css 没有显示,我在提供媒体文件时收到服务器内部错误 500。
我正在使用 apache,mod_wsgi。
https://gist.github.com/f25d5ecdab235d4da69b https://gist.github.com/d838c1923729afddf24a https://gist.github.com/d1e11e937e5910e839ee
我在日志中得到了这个
190.158.255.93 - - [19/Feb/2011:20:21:46 +0000] "GET /static/img/favicon.ico HTTP/1.1" 500 9751 190.158.255.93 - - [19/Feb/2011:20:23:19 +0000] “GET / HTTP/1.1”200 4079 190.158.255.93 - - [19/Feb/2011:20:23:20 +0000] “GET / HTTP/1.1”200 4078 190.158.255.93 - - [19/Feb/2011:20:23:21 +0000] “GET /static/css/pygments.css HTTP/1.1”500 9799 190.158.255.93 - - [19/Feb/2011:20:23:21 +0000] "GET /static/css/themes/basic.css HTTP/1.1" 500 9801 190.158.255.93 - - [19/Feb/2011:20:23:21 +0000] "GET /static/css/base.css HTTP/1.1" 500 9790 190.158.255.93 - - [19/Feb/2011:20:23:21 +0000] “GET /static/css/prettify.css HTTP/1.1”500 9792 190.158.255.93 - - [19/Feb/2011:20:23:21 +0000] "GET /static/css/960.css HTTP/1.1" 500 9797 190.158.255.93 - - [19/Feb/2011:20:23:22 +0000] “GET /static/js/prettify.js HTTP/1.1”500 9833 190.158.255.93 - - [19/Feb/2011:20:23:22 +0000] "GET /static/img/favicon.ico HTTP/1.1" 500 9738
如果您可能需要更多信息,请告诉我...这里可能有什么问题?
谢谢大家。
【问题讨论】:
-
应该有一个
error.log文件可以为您提供更多信息 -
嗨,实际上 apache error.log 没有显示任何内容。感谢您的回复
标签: django apache django-wsgi