ready, but a get this error in my page
samuel.alwaysdata.net/

Internal Server Error

The server encountered an internal error or misconfiguration and was unable
to complete your request.

Please contact the server administrator, [no address given] and inform them
of the time the error occurred, and anything you might have done that may
have caused the error.
More information about this error may be available in the server error log

2013/1/24 samuel bonilla <pythonn...@gmail.com>

> I create web2py.fcgi file.
>
> http://wiki.alwaysdata.com/wiki/D%C3%A9ployer_une_application_web2py
>
> code
>
> chmod +x web2py/web2py.fcgi
> chmod: cannot acess 'web2py/web2py.fcgi' : no such file or directory
>
> #!/usr/bin/python
>
> import os, sys
> _PROJECT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
> sys.path.insert(0, _PROJECT_DIR)
> os.chdir(_PROJECT_DIR)
>
> import gluon.main
> import gluon.contrib.gateways.fcgi as fcgi
> fcgi.WSGIServer(gluon.main.wsgibase, environ={'web2py_path': 
> _PROJECT_DIR}).run()
>
>
>

-- 



Reply via email to