On Sunday, September 27, 2015 at 2:53:53 PM UTC-7, thinh nham wrote:
>
> 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()
>
 

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

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to