python - "cannot find static files" -


i've been confused deploying apache , wsgi these days. here files.

/usr/local/apache/conf/httpd.conf

<virtualhost *:80>     documentroot "/data/www/default/dj/tangle_with_django_project"     wsgiscriptalias / "/data/www/default/dj/tangle_with_django_project/tangle_with_django_project/wsgi.py"     alias /static/ "data/www/default/dj/tangle_with_django_project/static"     <directory /data/www/default/dj/tangle_with_django_project/static>             order deny,allow             allow     </directory>     servername django.skywhat.com </virtualhost> 

sorry writing word 'tangle' rather 'tango' @ start. :( , others.

── static │   ├── css │   ├── images │   │   └── rango.jpg │   └── js │       ├── jquery-1.11.3.min.js │       ├── rango-ajax.js │       └── rango-jquery.js 

/data/www/default/dj/tangle_with_django_project/tangle_with_django_project/wsgi.py

import os import sys django.core.wsgi import get_wsgi_application os.environ.setdefault("django_settings_module",     "tangle_with_django_project.settings") sys.path.append(r"/data/www/default/dj/tangle_with_django_project") application = get_wsgi_application() 

that url i'm testing.

http://django.skywhat.com/rango cannot find solution searching google ...


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -