hosting web2py on hostgator

44 views
Skip to first unread message

thinh nham

unread,
Sep 27, 2015, 5:53:53 PM9/27/15
to web2py-users
I followed the instruction from this link http://www.web2pyslices.com/slice/show/1567/running-web2py-on-hostgator-shared-host and what should be my next steps ? I need to deploy a web application to my site and i don't want to switch to a different hosting service, Please help me ! 
below is my index.fcgi 

#!/home/user/python/bin/python2.7
import sys, os
sys.path.append('/home/user/public_html/web2py')
os.chdir('/home/user/public_html/web2py')
from flup.server.fcgi_fork import WSGIServer
import gluon.main
application=gluon.main.wsgibase
# or
# application=gluon.main.wsgibase_with_logging
WSGIServer(application).run()

Dave S

unread,
Sep 28, 2015, 2:19:58 PM9/28/15
to web2py-users
 

What do you see happening on your VM console?  What does your browser see when you try to access one of your web pages?

/dps

Reply all
Reply to author
Forward
0 new messages