hi there
used the default settings from the configuration for django from the
documentation page. I'm using django 1.2.3, apache 2.2, mod_wsgi
3.2-2. All files I used for django is stored in /home/biekei/.projects/
py/kt and the folder created by django-admin is /home/biekei/.projects/
py/kt/kt
This is my config file from /etc/apache2/sites-available/default ( the
same error when i used httpd.conf)
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
WSGIScriptAlias /kt /home/biekei/.projects/py/kt/kt/apache/
django.wsgi
<Directory /home/biekei/.projects/py/kt/kt/>
Options Indexes MultiViews FollowSymLinks
Order allow,deny
allow from all
</Directory>
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from
127.0.0.0/255.0.0.0 ::1/128
</Directory>
</VirtualHost>
here also is /home/biekei/.projects/py/kt/kt/apache/django.wsgi
import os
import sys
sys.path.append('/home/biekei/.projects/py/kt')
sys.path.append('/home/biekei/.projects/py/kt/kt')
os.environ['DJANGO_SETTINGS_MODULE'] = 'kt.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
Thanks for any advice