Microsoft Windows [versão 6.1.7601]Copyright (c) 2009 Microsoft Corporation. Todos os direitos reservados.C:\Windows\system32>cd D:\webconn\web2py_win\web2pyC:\Windows\system32>d:D:\webconn\web2py_win\web2py>web2py.exe -W installNew installation: unable to create welcome.w2p fileweb2py Web FrameworkCreated by Massimo Di Pierro, Copyright 2007-2011Version 2.00.0 (2012-05-15 09:05:35) devDatabase drivers available: SQLite3, pymysql, pg8000, MSSQL/DB2/Teradata, mongoDB, IMAPStarting hardcron...Installing service web2pyChanging service configurationService updatedD:\webconn\web2py_win\web2py>cd ..D:\webconn\web2py_win>cd ..D:\webconn>cd ..D:\>cd web2py_winD:\web2py_win>python web2py.exe -W installFile "web2py.exe", line 1SyntaxError: Non-ASCII character '\x90' in file web2py.exe on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for detailsD:\web2py_win>web2py.exe -W installweb2py Web FrameworkCreated by Massimo Di Pierro, Copyright 2007-2011Version 1.99.7 (2012-03-04 22:12:08) stableDatabase drivers available: SQLite3, pymysql, pg8000, IMAPStarting hardcron...Installing service web2pyChanging service configurationService updatedD:\web2py_win>web2py.exe -W startweb2py Web FrameworkCreated by Massimo Di Pierro, Copyright 2007-2011Version 1.99.7 (2012-03-04 22:12:08) stableDatabase drivers available: SQLite3, pymysql, pg8000, IMAPStarting hardcron...Starting service web2pyError starting service: O serviþo nÒo respondeu Ó requisiþÒo de inÝcio ou controle em tempo hßbil.D:\web2py_win>
#!/usr/bin/python # -*- coding: utf-8 -*- # when web2py is run as a windows service (web2py.exe -W) # it does not load the command line options but it # expects to find conifguration settings in a file called # # web2py/options.py # # this file is an example for options.py import socket import os ip = '0.0.0.0' port = 80 interfaces=[('0.0.0.0',80),('0.0.0.0',443,'ssl_private_key.pem','ssl_certificate.pem')] password = '<recycle>' # ## <recycle> means use the previous password pid_filename = 'httpserver.pid' log_filename = 'httpserver.log' profiler_filename = None #ssl_certificate = 'ssl_certificate.pem' # ## path to certificate file #ssl_private_key = 'ssl_private_key.pem' # ## path to private key file #numthreads = 50 # ## deprecated; remove minthreads = None maxthreads = None server_name = socket.gethostname() request_queue_size = 5 timeout = 30 shutdown_timeout = 5 folder = os.getcwd() extcron = None nocron = None
--
mail from:GoogleGroups "web2py-developers" mailing list
make speech: web2py-d...@googlegroups.com
unsubscribe: web2py-develop...@googlegroups.com
details : http://groups.google.com/group/web2py-developers
the project: http://code.google.com/p/web2py/
official : http://www.web2py.com/