Yep, with a few more things (profiler_filename, ssl, etc) the options
file works!

On last thing.  Since this is a backend that a non-techy will run (as
the 'server' at a expo kiosk)  is there anyway to either disable or
modify the splash screen for the web2py_no_console.exe -t at
startup.  I have no problem having a 'Powered by Web2py on the splash
screen but having no control to show its 'my app' USING web2py makes
it confusing and not as finished a project.  Also would be nice to be
able to change the icon displayed as well, which I know is hardcoded
at the moment.

Any thoughts Massimo?

On Dec 28, 10:40 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
> you need these in options.py
>
> extcron = None
> nocron = None
>
> On Dec 28, 12:20 pm, Delaney <delaneygilli...@gmail.com> wrote:
>
> > Thanks... This works as a param on the command line ''' start
> > web2py_no_console.exe -t -a "<recycle>" -p 80 -i 0.0.0.0 '''
>
> > But if create a options.py with
>
> > import socket,os
> > ip = '0.0.0.0'
> > port = 80
> > taskbar = True
> > password = '<recycle>'
> > folder = os.getcwd()
> > server_name = socket.gethostname()
>
> > I get...
>
> > >web2py.exe -L options.py
>
> > default applications appear to be installed already
> > web2py Enterprise Web Framework
> > Created by Massimo Di Pierro, Copyright 2007-2009
> > Version 1.72.3 (2009-11-10 09:17:13)
> > Database drivers available: SQLite3, MySQL
> > Starting cron...
> > Traceback (most recent call last):
> >   File "web2py.py", line 5, in <module>
> >   File "gluon/widget.py", line 779, in start
> > AttributeError: 'module' object has no attribute 'extcron'
>
> > Note this happens with a options.py with even just 'port=80' in it.
> > Is there something else I'm missing?
>
> > On Dec 28, 9:57 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > If you use the built-in web server, when you start it, serve from
> > > 0.0.0.0
>
> > > On Dec 28, 11:39 am, Delaney <delaneygilli...@gmail.com> wrote:
>
> > > > I'm using web2py for an intranet but notice that in the default config
> > > > web2py does not handle all requests to the port you serve from.
> > > > Basically I want to accept connections from
> > > > 'localhost','127.0.0.1','whatevermyhostnameis','etc' all on say port
> > > > 80 of the server.  I know how to set this up but can't seem to find
> > > > the right page explaining it in the manual.  I see on page 111 it
> > > > talks about the 'options_std.py' file but doesn't explain if for
> > > > example you can set the ip to for example  ['127.0.0.1','192.168.0.1']
> > > > or hostname to [socket.gethostname(),'localhost']
>
> > > > Any help would be appreciated... Thanks!

--

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


Reply via email to