I guess the actual configuration depends on your host, but I do it a bit 
differently. I'm on site5, but you may want to take a look at 
http://forums.site5.com/showthread.php?t=10236

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, נכתב על ידי [EMAIL PROTECTED]:
> 
> I've been trying to get django up and running on a shared account, and
> i'm having troubles - I have done everything I think I'm supposed to
> as per the setup documentation, but it just seems to hang when I try
> to access the page I setup.
> 
> Here is a copy of my config and the error message I receive:
> 
> 
> http://dpaste.com/12229/
> 
> ty
> 
> 
> > 
> 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to