[web2py] Re: Best way to access files outside of static

2013-12-12 Thread AbrahamLinksys
For a compelling (and humorous) argument of why NOT to use Regex to parse XML/HTML, read this SO nugget: http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags Seriously, it's my favorite SO post ever. Enjoy! On Wednesday, December 11, 2013 8:47:42 PM

[web2py] Re: Internal Error - Ticket unknown - only over HTTPS?!

2013-11-01 Thread AbrahamLinksys
) On Wednesday, October 30, 2013 12:49:28 PM UTC-5, AbrahamLinksys wrote: Hi all, I'm running a little older version of web2py in production (1.99.7). I have two apps configured to different subdomains -- app1.domain.edu - app1 app2.domain.edu - app2 This works fine. Great in fact -- I'm using

[web2py] Re: Internal Error - Ticket unknown - only over HTTPS?!

2013-11-01 Thread AbrahamLinksys
strange errors like that is to chmod the errors directory: chmod 777 /path/to/web2py/applications/app/errors But probably best not to leave it that way. On Friday, November 1, 2013 3:44:30 PM UTC-5, AbrahamLinksys wrote: Hi Michele, Thanks for your response. I actually managed to solve

[web2py] Internal Error - Ticket unknown - only over HTTPS?!

2013-10-30 Thread AbrahamLinksys
Hi all, I'm running a little older version of web2py in production (1.99.7). I have two apps configured to different subdomains -- app1.domain.edu - app1 app2.domain.edu - app2 This works fine. Great in fact -- I'm using routers to make the apps default based on the domain, so appnames aren't

[web2py] Re: Ticket Issued: Unrecoverable

2012-08-01 Thread AbrahamLinksys
Are 100% sure it's not permissions (e.g. you've run chmod recursively on the root of your app)? If so, I've also seen this error when mod_wsgi is misconfigured. In my case, I was able to visit one application (which was the default_app set in routers.BASE) but visiting the other resulted in

[web2py] Vars dictionary -- legal to have 'int'?

2012-08-01 Thread AbrahamLinksys
Hi, I have an appilcation that has been running for a while, and suddenly today it gave an error on this line in my view: [a href={{=URL(r=request,args=request.args,vars=dict(all=1)) }}show all attachements/a] This worked fine, but then I think I upgraded from 1.99.4 to 1.99.7, and it

Re: [web2py] Re: Vars dictionary -- legal to have 'int'?

2012-08-01 Thread AbrahamLinksys
...@gmail.com wrote: in trunk. please check it. Per my earlier message, this should not be necessary. There must be something else wrong, and str() unfortunately just papers over whatever the real problem is. On Wednesday, 1 August 2012 10:23:11 UTC-5, AbrahamLinksys wrote: Hi, I

[web2py] Re: Vars dictionary -- legal to have 'int'?

2012-08-01 Thread AbrahamLinksys
seem to remember debugging some issue I was having with URLs from another app that linked to this one... anyway, I clearly was careless in that I modified the source and forgot to change it back. Thanks for your help. -Abe On Wednesday, August 1, 2012 10:23:11 AM UTC-5, AbrahamLinksys wrote

[web2py] Re: Apache wsgi virtualhost configuration for multiple web2py sites

2012-07-12 Thread AbrahamLinksys
Does anyone know how to use mod_wsgi with multiple virtualhosts? I have 2 domains: project1.uni.edu project2.uni.edu And I want to be able to omit the project names from the URL path, as such: http://project1.uni.edu/ - http://project1.uni.edu/project1/default/index http://project2.uni.edu/

Re: [web2py] Re: Apache wsgi virtualhost configuration for multiple web2py sites

2012-07-12 Thread AbrahamLinksys
Ah -- i had forgotten that you can have the domains dictionary in routers.BASE -- thanks! I think this will help indeed. Do you know if I can use ports in the domain dict key? I would like to test this out on another port so that the live site isn't affected and the placeholder site for

[web2py] Re: Connection timed out - mysql

2012-07-12 Thread AbrahamLinksys
I get these broken pipe errors almost daily now, usually in the wee hours of the morning (between 1-5am). I'll get one or two, or sometimes like 5, but probably not more than say 10/day (on one page that pulls four images from the DB, i will get 4 at once), and it doesn't happen every day. I

[web2py] Re: Problems setting up apache to proxy traffic

2012-06-08 Thread AbrahamLinksys
I think you forgot the trailing slash on ProxyPass: *ProxyPass http://localhost:8000/* * * That's why the DNS lookup failed I think: Reason: strongDNS lookup failure for: localhost:8000welcome/strong/p/p On Friday, June 8, 2012 6:01:21 AM UTC-5, Robin Wood wrote: Hi I'm trying to setup