我使用libapache2-mod_wsgi来部署我的django应用程序。我写了httpd.conf如下:
Alias /static/ /home/ubuntu/similarkind/similarkind/static/
<Directory /home/ubuntu/similarkind/similarkind/static>
Order deny,allow
Allow from all
</Directory>
WSGIScriptAlias / /home/ubuntu/similarkind/similarkind/wsgi.py
WSGIPythonPath /home/ubuntu/similarkind:/home/ubuntu/pysushu/lib/python2.7/site-packages
<Directory /home/ubuntu/similarkind/similarkind>
<Files wsgi.py>
Order deny,allow
Allow from all
</Files>
</Directory>
我的应用程序运行正常但css和javascript没有显示出来。 我在静态文件夹中有我的css和js。我的app目录结构也是
/similarkind
/static
/foundation-3
/stylesheets
/js
/jquery-ui
/css
/js
谁能说出我错过了什么?