[web2py] Masking external url

2018-06-08 Thread e27gis
Hello, I have a web2py portal that has several applications, some of them are just a redirection to external urls. I would like to mask these urls (hide the true external url to the users) as if they are pure web2py applications, and also make impossible for the users so paste directly these l

[web2py] Re: [SOLVED] Problem sending email with new web2py version on Apache 2.4

2017-06-07 Thread e27gis
Also, Apache does intercept requests to web2py apps and runs them through an normally installed version of Python as it is written in WSCGI configuration of Apache We tried to force Apache to run the Web2py embedded python 2.7.9 version, which actually work to display the apps, but for some rea

[web2py] Re: [SOLVED] Problem sending email with new web2py version on Apache 2.4

2017-06-07 Thread e27gis
Also, Apache does intercept requests to web2py apps and runs them through an normally installed version of Python as it is written in WSCGI configuration of Apache We tried to force Apache to run the Web2py embedded python 2.7.9 version, which actually work to display the apps, but for some rea

[web2py] Re: [SOLVED] Problem sending email with new web2py version on Apache 2.4

2017-06-07 Thread e27gis
Actually, we also tried a fresh install of the latest Python 2.7.13 and that version did not work either. Therefore, we went back to 2.7.9. Thierry -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.c

[web2py] [SOLVED] Problem sending email with new web2py version on Apache 2.4

2017-06-07 Thread e27gis
I have finally solved my email sending problem on port 587 with APACHE 2.4, It was due to the fact that the *Web2py 2.14.6, Apache 2.4.23 and my Python 2.7.10 are just incompatible when dealing to starttls() or import ssl.Any version Python version above 2.7.9 does not work.* I have reinstal

[web2py] Re: "import ssl" impossible in Web2py with python 2.7.9 but "import ssl" working with python 2.7.9

2017-06-06 Thread e27gis
Funny thing : On the distant server, 1/ If I launch the mail controller from Web2py.exe (127.0.0.1/admin), it does find SSL module (python version 2.7.9) --> the mail is sent 2/ If I launch the mail controller as 'localhost/admin' i.e. through Apache 2.4, it does not find the SSL module (pyth

[web2py] "import ssl" impossible in Web2py with python 2.7.9 but "import ssl" working with python 2.7.9

2017-06-06 Thread e27gis
I have sending email problems that I am sure are related to SSL/TLS. I am running the last Web2py version with Python 2.7.9 and Apache 2.4 When I make a mail script with SMTPLIB, Web2py tells me that SSL is not present. When I want to "import ssl" within a Web2py script, no ssl module is found

[web2py] No SSL support included in this Python

2017-06-05 Thread e27gis
Hello, Having problem sending email with regular mail.auth.server, on a distant server running Apache 2.4,I tried to use the regular SMTPLIB. I got the following message : No SSL support included in this Python. Here is the script that runs fine on my local compture through Web2py.exe. Any id

[web2py] Access to the console Warning messages within a browser

2017-06-05 Thread e27gis
Does anyone know how to get access to the Warning messages, normally displayed on Web2py console, when we have only access Web2py via a browser on a distant machine

[web2py] Re: email sending problem

2017-06-04 Thread e27gis
Since mail.send() return False or True, there is no error here. I am not sur we can log any error here. How could I get the same "Warning" information that I can have through the local Web2py console which displays the real reason why an email is not sent ? -- Resources: - http://web2py.com

[web2py] Re: email sending problem

2017-06-04 Thread e27gis
Gmail is working fine for sending email, along with the other IP (orange, free) that I used. -- 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 receive

[web2py] Problem sending email with new web2py version on Apache 2.4

2017-06-04 Thread e27gis
After upgrading to the last version of Web2py, along which the latest Apache 2.4, we are unable to send email any more. Note that we have access to this remote server only through a browser for our Web2py development. We have tested different login/passwords/IP (gmail, orange, free) on port

[web2py] Get access to warning message when only using WEb2py through a browser on a distant machine

2017-06-04 Thread e27gis
Hello, I am encountering email sending problem with the last web2py version on a distant machine running Apache 2.4. I have exactly the same controller running fine on a local machine with WEb2py server (not Apache). On the distant machine the 'mail.send' function returns a False response, bu

[web2py] email sending problem

2017-06-04 Thread e27gis
Hello everyone. I am quite desperate. I can not send email using smtp.gmail.com. Nothing seams to be working. I use a gmail smtp account which is working fine on my server when I use a basic python script, or even a php script on my Apache 2.4. But is not not working with Web2py. I do not have

[web2py] Re: redirect an upload

2017-06-04 Thread e27gis
I do not know what is going on. Le vendredi 26 mai 2017 21:35:41 UTC+2, Dave S a écrit : > > I have a function shove() with decorator @request.restful(), used to > handle uploading a file, and as part of moving to https, I have a check for > https and redirect if it isn't s-full. > > > @request.