You could configure Apache itself to respond, or you can use web2py's routes.py to route the incoming request to a controller 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 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 in > "${webroot-path}/.well-known/acme-challenge" > to check the validity of the domain/server/... Then, the server from Let's > Encrypt do an HTTP GET command on this file. > > How to do this with Web2Py? How to make Web2Py answer to a request on a > file that is not in a controller/view? > > NOTE : my applications runs on Apache2.2, using the WSGI handler. > > Thanks! > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.