Re: [web2py] routes_in 153, me 0

2010-08-11 Thread Jonathan Lundell
On Aug 8, 2010, at 6:29 PM, Jonathan Lundell wrote: > On Aug 8, 2010, at 6:15 PM, Andrew Thompson wrote: > >> On 8/8/2010 9:10 PM, Jonathan Lundell wrote: >>> Is it possible that lighttpd is altering the URL enough that it doesn't >>> match what you've got in routes.py? >> >> Perhaps. I've got

Re: [web2py] routes_in 153, me 0

2010-08-08 Thread Jonathan Lundell
On Aug 8, 2010, at 6:15 PM, Andrew Thompson wrote: > On 8/8/2010 9:10 PM, Jonathan Lundell wrote: >> Is it possible that lighttpd is altering the URL enough that it doesn't >> match what you've got in routes.py? > > Perhaps. I've got to figure out how to test for that. I'll try to send Massimo

Re: [web2py] routes_in 153, me 0

2010-08-08 Thread Andrew Thompson
On 8/8/2010 9:10 PM, Jonathan Lundell wrote: Is it possible that lighttpd is altering the URL enough that it doesn't match what you've got in routes.py? Perhaps. I've got to figure out how to test for that. -- Andrew Thompson http://aktzero.com/

Re: [web2py] routes_in 153, me 0

2010-08-08 Thread Andrew Thompson
On 8/8/2010 8:33 PM, Thadeus Burgess wrote: The routes.example.py contains some unit tests. I have found this to be the most effective way of testing my routes to make sure they do what I want. Perhaps email clients munged it, but I have an existing filter_url doctest that seems to indicate th

Re: [web2py] routes_in 153, me 0

2010-08-08 Thread Jonathan Lundell
On Aug 8, 2010, at 6:00 PM, Andrew Thompson wrote: > On 8/8/2010 8:30 PM, Jonathan Lundell wrote: >> On Aug 8, 2010, at 5:10 PM, Andrew Thompson wrote: >> >>> I can not wrap my head around routes_in. I'm attempting to host 3 sites via >>> lighttpd and fcgihandler.py (is this the best way?) >>>

Re: [web2py] routes_in 153, me 0

2010-08-08 Thread Andrew Thompson
On 8/8/2010 8:30 PM, Jonathan Lundell wrote: On Aug 8, 2010, at 5:10 PM, Andrew Thompson wrote: I can not wrap my head around routes_in. I'm attempting to host 3 sites via lighttpd and fcgihandler.py (is this the best way?) I ripped this mostly from a mdpierro post, and tweaked it for my dom

Re: [web2py] routes_in 153, me 0

2010-08-08 Thread Jonathan Lundell
On Aug 8, 2010, at 5:33 PM, Thadeus Burgess wrote: > The routes.example.py contains some unit tests. I have found this to > be the most effective way of testing my routes to make sure they do > what I want. Also, I sent a note (yesterday?) to this list on how to use compile_re() in doctest to se

Re: [web2py] routes_in 153, me 0

2010-08-08 Thread Thadeus Burgess
The routes.example.py contains some unit tests. I have found this to be the most effective way of testing my routes to make sure they do what I want. -- Thadeus On Sun, Aug 8, 2010 at 7:30 PM, Jonathan Lundell wrote: > On Aug 8, 2010, at 5:10 PM, Andrew Thompson wrote: > >> I can not wrap my

Re: [web2py] routes_in 153, me 0

2010-08-08 Thread Jonathan Lundell
On Aug 8, 2010, at 5:10 PM, Andrew Thompson wrote: > I can not wrap my head around routes_in. I'm attempting to host 3 sites via > lighttpd and fcgihandler.py (is this the best way?) > > I ripped this mostly from a mdpierro post, and tweaked it for my domain, but > I'm just not making progress:

Re: [web2py] routes_in 153, me 0

2010-08-08 Thread Thadeus Burgess
('.*:https?://dashboard\.thadeusb\.com:.* /admin(?P.*)', '/admin\g'), ('.*:https?://thadeusb\.com:.* /(?P.*)', '/blogitizor/\g'), This is what I am currently using. -- Thadeus On Sun, Aug 8, 2010 at 7:10 PM, Andrew Thompson wrote: >  I can not wrap my head around routes_in. I'm attempti

[web2py] routes_in 153, me 0

2010-08-08 Thread Andrew Thompson
I can not wrap my head around routes_in. I'm attempting to host 3 sites via lighttpd and fcgihandler.py (is this the best way?) I ripped this mostly from a mdpierro post, and tweaked it for my domain, but I'm just not making progress: ('(.*):https?://(.*)mysite\.com:(.*) /favicon.ico', '/