Joakim Hove wrote:
Hello,
I __think__ you must add the path industtromatic_com in your wsgi
settings file,
i.e. something like:
import sys
sys.path.append( "/home/john/WEBprojects/industromatic_com" )
Yes, adding the dir above project and project dir to the sys.path let
apache2 function to serve the tutorial code.
It is without any backgrounds or formatting though.
I guess I need to link to or copy some static files used in the tutorial:
/var/log/apache2/error.log messages:
File does not exist: /home/john/WEBprojects/industromatic_com/media/js
File does not exist: /home/john/WEBprojects/industromatic_com/media/css
I'll look at the docs for templates and maybe run the devel
server and look at the page source it generates for clues about admin page
templates.
What have I left out of this Virtualhost configuration?
<VirtualHost 127.0.0.1:8080>
ServerAdmin webmas...@industromatic.com
ServerName industromatic.com
ServerAlias www.industromatic.com
WSGIScriptAlias /
/home/john/WEBprojects/industromatic_com/industromatic_com.wsgi
DocumentRoot /var/www/industromatic.com
Alias /media/ /home/john/WEBprojects/industromatic_com/media/
<Directory /var/www/industromatic.com>
Options FollowSymLinks Indexes MultiViews
</Directory>
<Directory /home/john/WEBprojects/industromatic_com>
Order allow,deny
Allow from all
</Directory>
<Directory /home/john/WEBprojects/industromatic_com/media>
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Thanks,
John
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.