[web2py] Re: How to use Let's Encrypt with Web2Py on Apache

2016-01-23 Thread Jean-François Milants
ontroller that then returns > the requested file. > > Anthony > > On Saturday, January 23, 2016 at 10:30:52 AM UTC-5, Jean-François Milants > wrote: >> >> Hi, >> >> I would like to get certificates from Let's Encrypt ( >> https://letsencrypt.org/) for

[web2py] How to use Let's Encrypt with Web2Py on Apache

2016-01-23 Thread Jean-François Milants
Hi, I would like to get certificates from Let's Encrypt (https://letsencrypt.org/) for my Web2Py applications, but I don't know how to make it work with Let's Encrypt. I already manage to get a certificate for a PHP application, using the --webroot method. This method creates a temporary file

[web2py] Re: Architecture for an application with multiple groups of users

2015-10-18 Thread Jean-François Milants
t; > On Tuesday, October 13, 2015 at 7:03:53 AM UTC-5, Jean-François Milants > wrote: >> >> Hi, >> >> I'm currently building a web-application based on web2py, and I would >> like some insights and advices about its architecture. >> Please, if this forum is

[web2py] Architecture for an application with multiple groups of users

2015-10-13 Thread Jean-François Milants
Hi, I'm currently building a web-application based on web2py, and I would like some insights and advices about its architecture. Please, if this forum is not the good place to ask this kind of question, just tell me. And if you could point me to some resources/communities that could help me, I

[web2py] Re: URL structure for a blog (using router?)

2015-05-19 Thread Jean-François Milants
145 is the id. The slug is just for show. On Monday, 18 May 2015 12:10:37 UTC-5, Jean-François Milants wrote: I found out that what I'm trying to do is a 'slug', a unique name for all of my posts. However, I'm worried about the performances of the search of the post in DB. For example

[web2py] Re: URL structure for a blog (using router?)

2015-05-18 Thread Jean-François Milants
to search for the string 'this-is-an-article http://domain.com/blog/this-is-an-article'. This should'nt be an issue for a small DB, but this could become a bottleneck when the DB will grow. How do you guys implement such a thing? Le samedi 16 mai 2015 16:41:36 UTC+2, Jean-François Milants a écrit

[web2py] URL structure for a blog

2015-05-16 Thread Jean-François Milants
Hi, I'm writing a blog application, which allows me to create new blog post and have them listed on a page. In database, I have a table called articles which contains some field (id, title, content_text,...). For now, the URL to access to a specific blog post has the following structure :

[web2py] Routes for 2 domains and 2 apps

2015-01-18 Thread Jean-François Milants
Hi, I currently have a web2py app running on my server. Lets call it App1. I created a VirtualHost for my Apache so that 'domain1' points to this app. This app supports 2 languages (fr and en). I already have a certificate for this domain, so, it is running in HTTPS. Now, I want to add a

[web2py] Widget in custom FORM

2014-12-03 Thread Jean-François Milants
Hi, I would like to apply a widget (ckeditor) to an INPUT field of a custom FORM (not a SQLFORM). When using SQLFORM and FIELD(...,widget=ckeditor.widget), the widget is correctly applied to the field of the FORM. Can I do the same thing with a custom FORM? The data I'm manipulating in the