Friends, I followed this steps:
1 - Get the last version of web.py src in (http://github.com/webpy/ webpy/tarball/master); extract this file. 2 - By FTP, copy/upload the folder 'web' to /www/ folder. 3 - In my machine, I created a file .htaccess with this content: AddHandler fcgid-script .py AddHandler fcgid-script .fcgi RewriteEngine on RewriteBase / RewriteCond %{REQUEST_URI} !^/icons RewriteCond %{REQUEST_URI} !^/static RewriteCond %{REQUEST_URI} !^/favicon.ico$ RewriteCond %{REQUEST_URI} !^(/.*)+code.py/ RewriteRule ^(.*)$ code.py/$1 [PT] 4 - After, upload this file to /www/ folder. 5 - chmod +x in code.py 6 - in the end of code.py put or change this: app = web.application(urls, globals()) web.wsgi.runwsgi = lambda func, addr=None: web.wsgi.runfcgi(func, addr) if __name__ == '__main__': app.run() web.py running in the server best regards, Leandro. -- You received this message because you are subscribed to the Google Groups "web.py" 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/webpy?hl=en.
