Here is a copy of my config and the error message I receive:
ty
Also, I noted that your handler is using /usr/bin/python, whereas most
instructions I saw say to use virtual python (so you can install your own
stuff in site-packages. Maybe this gives you some troubles.
I'm pasting here my .htaccess and the handler script, perhaps they'll help
you. They're slightly different than yours:
# .htaccess
RewriteEngine On
RewriteBase /
RewriteRule ^(admedia/.*)$ - [L]
RewriteRule ^(media/.*)$ - [L]
RewriteCond %{REQUEST_URI} !(dispatch.fcgi)
RewriteRule ^(.*)$ dispatch.fcgi/$1 [QSA,L]
# dispatch.cgi
#!/home/amitrain/bin/python
import sys
# add the path to the django sites root directory
# to python path. this shouldn't be changed for different
# sites as long as they all under this root.
sys.path += ['/home/amitrain/django_sites']
from fastcgi.fcgi import WSGIServer
from django.core.handlers.wsgi import WSGIHandler
import os
# point django to the specific site settings module
os.environ['DJANGO_SETTINGS_MODULE'] = 'kennel.settings'
WSGIServer(WSGIHandler()).run()
# end of code
All the best,
Amit
ביום חמישי 14 יוני 2007, 07:28, נכתב על ידי fuf...@gmail.com: