Re: [web2py] Re: Restful API with HTTPS and authentication

2013-09-17 Thread Fredrik
It turns out I needed to add this to the Apache config: On Tuesday, September 17, 2013 11:23:00 AM UTC+2, Michele Comitini wrote: > > Fredrik, > > You should be able to use http basic authentication on ssl. > You can also use x509 auth if you want to use client side certificates

[web2py] Re: Restful API with HTTPS and authentication

2013-09-17 Thread Fredrik
Hi Larry, thanks for the quick reply. It might have something to do with the certificate. Me calling it a production server is actually not totally correct, it's more of a staging server, and therefore the SSL certificate does not match the domain name. Using basic auth was more of a way to fi

[web2py] Restful API with HTTPS and authentication

2013-09-16 Thread Fredrik
the setting for that part. I have tried all different types of methods, including sending cookies with the curl request. Am I missing something here? What is the preferred solution for Auth for RESTfil APIs in web2py? Best regards, Fredrik -- Resources: - http://web2py.com - http://web2py.com

[web2py] Re: uploading large file (>15 MB) to blob field

2012-02-24 Thread Fredrik
Hi, we have the exact same problem, it seems to be a problem with pymysql (https://github.com/petehunt/PyMySQL/issues/42), however that fix seems to be integrated in latest web2py but the error remains. Does anyone have any thoughts on this? Best regards, Fredrik On 20 Feb, 01:25, Matt Grham

[web2py] Re: Binary file in blob

2011-05-04 Thread Fredrik
..maybe there is a way to insert the file without using the DAL wrapper from web2py? On 4 Maj, 09:28, Fredrik wrote: > Hi, > > we're trying to use web2py to upload a binary file to a MySQL > database. After reading some examples we landed on this table > defenition: &g

[web2py] Binary file in blob

2011-05-04 Thread Fredrik
avoid this? Since the file is later fetched by another application it's a little extra hassle to base64 decode the file. The best solution would be to tell web2py to store the file in raw format. Best regards Fredrik

[web2py] Require login for whole application

2011-04-05 Thread Fredrik
app? It would be nice to never have to worry about forgetting an action and be sure that only logged in users can access the application. Best regards Fredrik

[web2py:12206] Re: web2py book in PDF at $12.50

2008-11-20 Thread Fredrik
Just bought it, so some coffey and a nice afternoon with reading... hmm nice //Fredrik On 19 Nov, 02:45, mdipierro <[EMAIL PROTECTED]> wrote: > http://www.lulu.com/content/4968879 > > This is without the Wiley cover since Wiley could not accommodate the > requirements but i