[web2py] Re: parameterized router BASE breaks appadmin redirection

2015-03-11 Thread cowbert
not find why either send=URL('site') or redirect(URL('admin','default','index',vars=dict(send=URL(args=request.args, vars=request.vars is not picking up the correct routing and prepending the rendered URL with my BASE ('/web2py') On Monday, May 12, 2014 at 10:06:56 PM UTC-4, cowbert wrote: When

Re: [web2py] Re: HELP!! Another upgrading failed for Apache running web2py

2015-03-08 Thread cowbert
FWIW: I am running web2py 2.9.12 (using source code) on: Apache/2.4.12 (Win32) OpenSSL/1.0.1l mod_wsgi/4.4.6 Python/2.7.9 configured and Windows Server 2008 32-bit without any of the problems indicated by OP. Specifically: Apache is from ApacheLounge compiled with VC 9. This is required because

[web2py] Re: web2py as a separate admin process?

2014-10-21 Thread cowbert
The app server that ships with web2py is a fork of the Rocket webserver: https://pypi.python.org/pypi/rocket It's written in pure python, so all of the security is how python sockets and so forth is secure (see also the python httpserver module). Ultimately if you are using web2py for

[web2py] upload progress recipe not working

2014-07-01 Thread cowbert
I'm trying to do a simple manual file upload (without DAL) and display progress bar. I would prefer not to use any ajax helpers. I'm trying to use the upload progress recipe (involving the cache.ram tracking in copystream_progress). Here's my controller default.py: def index(): if

[web2py] Re: upload progress recipe not working

2014-07-01 Thread cowbert
length and uploaded. Can anybody help with this? On Tuesday, July 1, 2014 2:00:33 PM UTC-4, cowbert wrote: I'm trying to do a simple manual file upload (without DAL) and display progress bar. I would prefer not to use any ajax helpers. I'm trying to use the upload progress recipe (involving

[web2py] Re: Making minor changes to auth.navbar()

2014-06-29 Thread cowbert
It goes into a model file after auth has been instantiated. Everything in the model is globalised as models are executed every time the app is accessed. Example in db.py: auth = Auth(db) ... def user_bar(): bar = reference to auth.user to generate nav bar... return bar then you would

[web2py] Re: parameterized router BASE breaks appadmin redirection

2014-06-19 Thread cowbert
Actually ticket URLs are also broken in this way (since it sends to /admin/ticket instead of to BASE + /admin/ticket... On Monday, May 12, 2014 10:06:56 PM UTC-4, cowbert wrote: When BASE is specified in a parameterized router, and an unauthenticated session tries to go to the appadmin URL

[web2py] parameterized router BASE breaks appadmin redirection

2014-05-13 Thread cowbert
When BASE is specified in a parameterized router, and an unauthenticated session tries to go to the appadmin URL, the admin login controller fails to prepend BASE to the value of the hidden form input element 'send', causing redirection after authentication to redirect to the wrong URL (the