I followed manual and everything works fine. But there is problem whit
translation of code. Google translator try to translate it to and it
make some mistakes there. So it is better to use codes form original
site.

On 6 bře, 23:21, pistachio <[email protected]> wrote:
> Hi guys,
>
> I know there is a wiki page on this one but I have come across a few
> problems and wondered if some kind soul could point me in the right
> direction...
>
> I am trying to deploy a web2py application as described 
> here:http://translate.google.com/translate?u=http%3A%2F%2Fwiki.alwaysdata....
>
> I have followed all the procedures on the page, but have edited the
> fcgi script in www/web2py/public as the wiki version has errors in it
> and web2py also complains of missing environ parameters so they are
> added at the end:
>
> #!/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, 'SERVER_NAME': 'web2py',
> 'SERVER_PORT': 8000, 'SERVER_PROTOCOL': 'http', 'REQUEST_METHOD':
> 'GET', 'REMOTE_ADDR': 'localhost'}).run()
>
> When I run the script I get the following output before the script
> exits:
>
> Status: 303 SEE OTHER
> Content-Type: text/html; charset=UTF-8
> Location: /welcome/default/index
> Content-Length: 66
>
> You are being redirected <a href="/welcome/default/index">here</a>
>
> ???
>
> Thank you in advance :)

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

Reply via email to