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

2017-09-10 Thread Yi Liu
Dug up this old thread. In case anybody wondering the same question about 
certbot/let's encrypt and web2py.

1. use `--standalone` as David advised. But you have to stop the webserver 
everytime you renew.

2. instead, you can use the standard `--webroot` method. Here, you need to 
edit your vhost file be it apache or nginx, add a location block:

Using nginx for example:

-   location /.well-known {
- root /home/www-data/web2py;
-   }


This way, nginx will server the .well-known and skip passing it onto 
uwsgi/web2py. Make sure you restart nginx after making this server conf 
change and use 

sudo certbot certonly/renew --webroot -w /your/path -d example.com -d 
www.example.com








On Tuesday, May 30, 2017 at 12:05:01 PM UTC-7, Dave S wrote:
>
>
>
> On Tuesday, May 30, 2017 at 8:50:50 AM UTC-7, Raymond Smith wrote:
>>
>> Please tell me how you did this!! :) IT would be really helpful  :)
>>
>>
> I can't answer for the Apache case (or even for the preferred NginX case), 
> but I found using CertBot in manual mode was easy (on AWS Linux).  Rocket 
> was running on port 80, so I told CertBot to use port 443.  Whizz bang, 
> everything done.  I stopped Rocket, restarted it with port 443 and the -c 
> and -k arguments (pointing to where CertBot deposited the goods), and 
> Poof!  It worked!
>
> I still have a Rocket running on port 80, redirecting to https, but will 
> probably stop it to run CertBot on port  80 when I need to renew.  If I get 
> nginx going before then, I'll update this post.
>
> /dps
>  
>

-- 
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.


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

2017-06-06 Thread Raymond Smith
Dave

That standalone flag saved my life !!! I LOVE YOU :D :D :D 

thankyou a ton !!!


On Wednesday, May 31, 2017 at 7:43:09 AM UTC+12, Dave S wrote:
>
>
>
> On Tuesday, May 30, 2017 at 12:05:01 PM UTC-7, Dave S wrote:
>>
>>
>>
>> On Tuesday, May 30, 2017 at 8:50:50 AM UTC-7, Raymond Smith wrote:
>>>
>>> Please tell me how you did this!! :) IT would be really helpful  :)
>>>
>>>
>> I can't answer for the Apache case (or even for the preferred NginX 
>> case), but I found using CertBot in manual mode was easy (on AWS Linux).  
>> Rocket was running on port 80, so I told CertBot to use port 443.  Whizz 
>> bang, everything done.  I stopped Rocket, restarted it with port 443 and 
>> the -c and -k arguments (pointing to where CertBot deposited the goods), 
>> and Poof!  It worked!
>>
>> I still have a Rocket running on port 80, redirecting to https, but will 
>> probably stop it to run CertBot on port  80 when I need to renew.  If I get 
>> nginx going before then, I'll update this post.
>>
>>
> BTW, docs at
> 
> and
> 
> (consecutive)
>
> /dps
>  
>

-- 
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.


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

2017-05-30 Thread Dave S


On Tuesday, May 30, 2017 at 12:05:01 PM UTC-7, Dave S wrote:
>
>
>
> On Tuesday, May 30, 2017 at 8:50:50 AM UTC-7, Raymond Smith wrote:
>>
>> Please tell me how you did this!! :) IT would be really helpful  :)
>>
>>
> I can't answer for the Apache case (or even for the preferred NginX case), 
> but I found using CertBot in manual mode was easy (on AWS Linux).  Rocket 
> was running on port 80, so I told CertBot to use port 443.  Whizz bang, 
> everything done.  I stopped Rocket, restarted it with port 443 and the -c 
> and -k arguments (pointing to where CertBot deposited the goods), and 
> Poof!  It worked!
>
> I still have a Rocket running on port 80, redirecting to https, but will 
> probably stop it to run CertBot on port  80 when I need to renew.  If I get 
> nginx going before then, I'll update this post.
>
>
BTW, docs at

and

(consecutive)

/dps
 

-- 
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.


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

2017-05-30 Thread Dave S


On Tuesday, May 30, 2017 at 8:50:50 AM UTC-7, Raymond Smith wrote:
>
> Please tell me how you did this!! :) IT would be really helpful  :)
>
>
I can't answer for the Apache case (or even for the preferred NginX case), 
but I found using CertBot in manual mode was easy (on AWS Linux).  Rocket 
was running on port 80, so I told CertBot to use port 443.  Whizz bang, 
everything done.  I stopped Rocket, restarted it with port 443 and the -c 
and -k arguments (pointing to where CertBot deposited the goods), and 
Poof!  It worked!

I still have a Rocket running on port 80, redirecting to https, but will 
probably stop it to run CertBot on port  80 when I need to renew.  If I get 
nginx going before then, I'll update this post.

/dps
 

-- 
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.


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

2017-05-30 Thread Raymond Smith
Please tell me how you did this!! :) IT would be really helpful  :)

On Saturday, March 5, 2016 at 12:30:35 PM UTC+13, Jacinto Parga wrote:
>
> How can routes.py be configured to return the requested file?
>
> The page requested is something like this:
>
>
> http://example.com/.well-known/acme-challenge/dkB1xZ7bb_x1JgWilNwyYNrteHPUoqnLvNfnn3gS3b0
>
> The response is a plain text, something like this:
>
>
> EZvKzpPMR2sCRRPqfyi_fOBvx9cV9FS59jmTpAMsLlc.wsviFLCnmgajAEkPk0QNPbOowoXWV4hIjs1Sxb_fAt8
>
> I don't know how to do it using routes.py
>
> I am running my application on Google App Engine
>
> El sábado, 23 de enero de 2016, 16:52:33 (UTC+1), Anthony escribió:
>>
>> 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.


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

2017-02-22 Thread Dave S
I'm also looking at EFF's certbot (because I have contact with someone who 
uses that), which leads to the question ... is the "webroot" of Rocket the 
web2py directory?

/dps 


On Wednesday, February 22, 2017 at 5:21:02 PM UTC-8, Dave S wrote:
>
>
>
> On Wednesday, February 1, 2017 at 7:26:48 AM UTC-8, Anthony wrote:
>>
>> On Tuesday, January 31, 2017 at 9:31:24 AM UTC-5, Carlos Correia wrote:
>>>
>>> How did you do it? I'm facing the same problem...
>>>
>>
>> You should probably handle this directly with the web server 
>> configuration rather than in web2py. I recommend Acmetool 
>> .
>>
>> Anthony
>>
>
> Any thoughts on this one?
>
> https://github.com/diafygi/acme-tiny>
>
> /dps
>  
>

-- 
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.


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

2017-02-22 Thread Dave S


On Wednesday, February 1, 2017 at 7:26:48 AM UTC-8, Anthony wrote:
>
> On Tuesday, January 31, 2017 at 9:31:24 AM UTC-5, Carlos Correia wrote:
>>
>> How did you do it? I'm facing the same problem...
>>
>
> You should probably handle this directly with the web server configuration 
> rather than in web2py. I recommend Acmetool 
> .
>
> Anthony
>

Any thoughts on this one?

https://github.com/diafygi/acme-tiny>

/dps
 

-- 
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.


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

2017-02-01 Thread Anthony
On Tuesday, January 31, 2017 at 9:31:24 AM UTC-5, Carlos Correia wrote:
>
> How did you do it? I'm facing the same problem...
>

You should probably handle this directly with the web server configuration 
rather than in web2py. I recommend Acmetool 
.

Anthony

-- 
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.


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

2017-01-31 Thread Dave S


On Tuesday, January 31, 2017 at 6:31:24 AM UTC-8, Carlos Correia wrote:
>
> How did you do it? I'm facing the same problem...
>
> Thanks
>
>
>
Do these posts help?


 

(I've linked to specific answers from Anthony, but each is in a thread that 
provides a little more information.)

/dps

-- 
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.


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

2017-01-31 Thread Carlos Correia
How did you do it? I'm facing the same problem...

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.


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

2016-07-11 Thread Alexei Vinidiktov
How did you do it?

On Monday, March 7, 2016 at 2:23:18 AM UTC+7, Jacinto Parga wrote:
>
> It's ok.  I have already solved it with routes.py and the error handler.
>
> Thanks anyway
>
> El sábado, 5 de marzo de 2016, 0:30:35 (UTC+1), Jacinto Parga escribió:
>>
>> How can routes.py be configured to return the requested file?
>>
>> The page requested is something like this:
>>
>>
>> http://example.com/.well-known/acme-challenge/dkB1xZ7bb_x1JgWilNwyYNrteHPUoqnLvNfnn3gS3b0
>>
>> The response is a plain text, something like this:
>>
>>
>> EZvKzpPMR2sCRRPqfyi_fOBvx9cV9FS59jmTpAMsLlc.wsviFLCnmgajAEkPk0QNPbOowoXWV4hIjs1Sxb_fAt8
>>
>> I don't know how to do it using routes.py
>>
>> I am running my application on Google App Engine
>>
>> El sábado, 23 de enero de 2016, 16:52:33 (UTC+1), Anthony escribió:
>>>
>>> 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.


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

2016-03-06 Thread Jacinto Parga
It's ok.  I have already solved it with routes.py and the error handler.

Thanks anyway

El sábado, 5 de marzo de 2016, 0:30:35 (UTC+1), Jacinto Parga escribió:
>
> How can routes.py be configured to return the requested file?
>
> The page requested is something like this:
>
>
> http://example.com/.well-known/acme-challenge/dkB1xZ7bb_x1JgWilNwyYNrteHPUoqnLvNfnn3gS3b0
>
> The response is a plain text, something like this:
>
>
> EZvKzpPMR2sCRRPqfyi_fOBvx9cV9FS59jmTpAMsLlc.wsviFLCnmgajAEkPk0QNPbOowoXWV4hIjs1Sxb_fAt8
>
> I don't know how to do it using routes.py
>
> I am running my application on Google App Engine
>
> El sábado, 23 de enero de 2016, 16:52:33 (UTC+1), Anthony escribió:
>>
>> 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.


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

2016-03-04 Thread Jacinto Parga
How can routes.py be configured to return the requested file?

The page requested is something like this:

http://example.com/.well-known/acme-challenge/dkB1xZ7bb_x1JgWilNwyYNrteHPUoqnLvNfnn3gS3b0

The response is a plain text, something like this:

EZvKzpPMR2sCRRPqfyi_fOBvx9cV9FS59jmTpAMsLlc.wsviFLCnmgajAEkPk0QNPbOowoXWV4hIjs1Sxb_fAt8

I don't know how to do it using routes.py

I am running my application on Google App Engine

El sábado, 23 de enero de 2016, 16:52:33 (UTC+1), Anthony escribió:
>
> 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.


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

2016-01-23 Thread Jean-François Milants
If Apache could serve the file by itself, without my Web2Py application 
knowing it, it would be perfect!
But I don't know how to configure Apache so that it does not transmit the 
request to wsgihandler.py.

Here is my virtual host file:

   ServerName adomain.com
   ServerAlias www.adomain.com

WSGIDaemonProcess web2py user=www-data group=www-data 
display-name=%{GROUP}
WSGIProcessGroup web2py
WSGIScriptAlias / /home/www-data/web2py-2.10/wsgihandler.py


AllowOverride None
Order Allow,Deny
Deny from all

Allow from all



AliasMatch ^/([^/]+)/static/(.*)
/home/www-data/web2py-2.10/applications/$1/static/$2

Order Allow,Deny
Allow from all



Deny from all



Deny from all



Is it even possible?

Thanks!

Le samedi 23 janvier 2016 16:52:33 UTC+1, Anthony a écrit :
>
> 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.


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

2016-01-23 Thread Anthony
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.


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

2016-01-23 Thread Anthony

>
> AliasMatch ^/([^/]+)/static/(.*)
> /home/www-data/web2py-2.10/applications/$1/static/$2
> 
> Order Allow,Deny
> Allow from all
> 
>

The above block configures Apache to serve web2py static files directly 
(rather than passing the requests onto the web2py WSGI handler), so 
presumably you could set up a similar rule.

Anthony

-- 
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.