[web2py] Re: Is this a mistake?

2019-09-28 Thread zxynax
Seems it's already in the github repo and is ready to be released. On Saturday, September 28, 2019 at 2:48:36 AM UTC-5, Massimo Di Pierro wrote: > > yes. can you submit a Pr? > > On Friday, 27 September 2019 19:59:21 UTC-7, zxynax wrote: >> >> In to

[web2py] Is this a mistake?

2019-09-27 Thread zxynax
In tools.py from gluon: 2643 redirect(self.url(args=request.args, vars=request.vars),client_side=settings.client_side) Isn't that supposed to say request.get_vars ? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/w

[web2py] Re: Python3 lighttpd fcgi?

2018-11-20 Thread zxynax
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- """ This file is part of the web2py Web Framework Copyrighted by Massimo Di Pierro License: LGPLv3 (http://www.gnu.org/licenses/lgpl.html) This is a handler for lighttpd+fastcgi This file has to be in the PYTHONPATH Put something like this in the

[web2py] Re: Python3 lighttpd fcgi?

2018-11-20 Thread zxynax
Lightty config: server.modules += ("mod_fastcgi") fastcgi.debug = 1 $HTTP["url"] !~ "^/static" { fastcgi.server = ( "" => (( "bin-path" => "/srv/web2py/fcgihandler.py", "check-local" => "disable", "socket" => "/tmp/web2py.sock", "max-procs" => 4 ))) } The sour

[web2py] Python3 lighttpd fcgi?

2018-11-20 Thread zxynax
Have run web2py on lighttpd fcgi for years. Finally decided to run it with Python3 rather than 2. Fcgi.py from gluon/contrib throws many errors. So is fcgi not recommended? If so what is the recommended method? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http

[web2py] URL() problem with list nested in dict

2010-06-28 Thread zxynax
desired: http://www.example.com/app/default/index?blah=1&blah=2 There does not seem to be any way to do this with URL. URL(request.application,'default','index',vars={'blah':1,'blah':2}) would simply write over first key val and URL(request.application,'default','index',vars={'blah':[1,2]}) tries

[web2py] Re: lighttpd + mod_rewrite question/issue

2010-04-20 Thread zxynax
Took a bit of playing/searching but I've got it now. No worries. Love the framework Massimo! On Apr 20, 12:17 pm, zxynax wrote: > would like the following behavior: > request =http://www.example.com/ > to go tohttp://www.example.com/exampleapplication > instead of what it

[web2py] lighttpd + mod_rewrite question/issue

2010-04-20 Thread zxynax
would like the following behavior: request = http://www.example.com/ to go to http://www.example.com/exampleapplication instead of what it would do normally which would be http://www.example.com/welcome/default/index But I would like this to be entirely unseen by the user. -- Subscription setti

[web2py] cookbook

2010-04-13 Thread zxynax
Don't know if this is the right place for this. On page 70 of the cookbook it shows the example below: def index(): form = SQLFORM(db.dog) if form.accept(request.vars,session): response.flash = "record %i created" % form.vars.id return dict(form=form) Neither FORM nor SQLFORM have a m

[web2py:19528] Re: Apache config.

2009-04-09 Thread zxynax
I get an error when I use that setup as well. Already used by another worker On Apr 7, 4:19 pm, bsnipes wrote: > Just came across this nice post and am going to try it tonight: > > http://groups.google.com/group/web2py/browse_thread/thread/8bab53777c... > > Brian --~--~-~--~~---

[web2py:19410] Re: Apache config.

2009-04-07 Thread zxynax
That begs the question - what deployment method are you using? On Apr 7, 1:39 pm, bsnipes wrote: > On Apr 7, 1:32 pm, zxynax wrote: > > > So I found a workaround. > > Great! > > > > > The problem I have with this is I'd like to manipulate the xml >

[web2py:19406] Re: Apache config.

2009-04-07 Thread zxynax
'd like to manipulate the xml contained within the .svg with web2py. Is an email to the author in order? On Apr 7, 1:21 pm, zxynax wrote: > I uncommented the alias line and it now serves SVG. > Problem is that none of the web2py code runs. > > On Apr 7, 10:31 am, bsnipes wrote:

[web2py:19405] Re: Apache config.

2009-04-07 Thread zxynax
I uncommented the alias line and it now serves SVG. Problem is that none of the web2py code runs. On Apr 7, 10:31 am, bsnipes wrote: > On Apr 7, 9:52 am, zxynax wrote: > > > I thought that's what you intended.  But as I'm the one who's > > obviously not un

[web2py:19383] Re: Apache config.

2009-04-07 Thread zxynax
/applications/" In my config I have that commented out. As when I have it uncommented it doesn't allow WSGI to run. On Apr 7, 9:25 am, bsnipes wrote: > On Apr 7, 9:20 am, zxynax wrote: > > > a2enmod web2py returns "ERROR: Module web2py does not exist!" > &g

[web2py:19377] Re: Apache config.

2009-04-07 Thread zxynax
a2enmod web2py returns "ERROR: Module web2py does not exist!" So am I missing a module?!? I've not read anything that indicates that a web2py module should exist. Maybe my eyes are not working?!? mime.conf and mime.load are indeed under /etc/apache/mods-enabled/ mime.conf contains the line: Ty

[web2py:19335] Re: Apache config.

2009-04-06 Thread zxynax
without having to make a separate vhost purely for .svg files. Any further input is indeed appreciated. On Apr 6, 3:34 pm, bsnipes wrote: > On Apr 6, 2:40 pm, zxynax wrote: > > > Thanks for your prompt attention. > > > OS is Ubuntu and the mime.types has the images/svg+xml defin

[web2py:19299] Re: Apache config.

2009-04-06 Thread zxynax
Thanks for your prompt attention. OS is Ubuntu and the mime.types has the images/svg+xml definition and it is uncommented. I can even serve svg images if I use a vhost that does not utilize WSGI. On Apr 6, 2:22 pm, bsnipes wrote: > On Apr 6, 2:19 pm, zxynax wrote: > > > I'

[web2py:19292] Apache config.

2009-04-06 Thread zxynax
I'm trying to have apache serve svg images as they should be served. Problem is the doctype seems to always come back as text/plain which casues text rather than an image to show. Anybody else have experience with this? --~--~-~--~~~---~--~~ You received this messa

[web2py:16628] Re: Interesting Phenomenon

2009-02-20 Thread zxynax
e to email the entire app and I > will try look at it during the week-end. > > Massimo > > On Feb 20, 3:47 pm, zxynax wrote: > > > > > I believe that is exactly what is happening.  Anyway...for your > > viewing enjoyment: > > > > "http

[web2py:16625] Re: Interesting Phenomenon

2009-02-20 Thread zxynax
I believe that is exactly what is happening. Anyway...for your viewing enjoyment: http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> {{=response.title or URL(r=request)}} {{include 'web2py_ajax.html'}}