I'm trying to deploy Askbot on a shared host with Hostgator, without success. The Askbot documentation talks about changing settings on the webserver, which I obviously cannot do as it is a shared web host.
I initially tried deploying with fcgi, which to my knowledge is the only thing that would work on Hostgator. My .htaccess and index.fcgi are below, but unfortunately I could not make it work yet.
.htaccess
AddHandler fcgid-script .fcgi
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.fcgi/$1 [QSA,L]
index.fcgi
#!/opt/python27/bin/python2.7
import sys, os, user
from django.core.servers.fastcgi import runfastcgi
# Add a custom Python path. (optional)
sys.path.insert(0, "/home/vnaut/django/projects/project")
# Switch to the directory of your project.
os.chdir("/home/vnaut/django/projects/project")
# Set the DJANGO_SETTINGS_MODULE environment variable.
os.environ['DJANGO_SETTINGS_MODULE'] = "project.settings"
from django.core.servers.fastcgi import runfastcgi
runfastcgi(method="threaded", daemonize="false")
Has anyone had success deploying Askbot on shared hosting? Could you anyone out there share? Many thanks.