管理员静态文件(css,javascript,image)有问题...我无法显示这个正确的模板......
OS:Ubuntu 12.10 / Apache2 / mod_wsgi / Django 1.4
我的apache配置gile:
<VirtualHost *:80>
WSGIScriptAlias / /var/www/myhost.com/apache/buzzbal.wsgi
ServerName www.myhost.com
Alias /static /var/www/myhost.com/static/
<Directory /var/www/myhost.com/>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
答案 0 :(得分:3)
使用:
Alias /static/ /var/www/myhost.com/static/
也就是说,在子URL安装点和目标路径上都有斜杠。