| Issue 110: | cant secure /login with https on gae | |
| 3 people starred this issue and may be notified of changes. | Back to list |
we want /login to be accessed through https:
we should add to app.yaml:
* url: /login.*
script: "login/views.py"
secure: always
when we hit http://app-id.appspot.com/login
The problem is :
<type ‘exceptions.ImportError’>: No module named cleanliness
Traceback (most recent call last):
File
"/base/data/home/apps/orange-concerto/1.333316254334403452/login/views.py",
line 23, in <module>
from common import api
File
"/base/data/home/apps/orange-concerto/1.333316254334403452/common/api.py",
line 20, in <module>
from cleanliness import cleaner
at this time (the https driver) app engine has not load the zip files
including cleanliness.zip but also django.zip ...
solution ? import main.py in login/views.py ( not very clean)
May 18, 2009
i'm not really sure what issue you are running into, is this still happening for you?
May 19, 2009
At this point most files of the login page are served throught https but some stays in http (the images ) maybe I need to modify app.yaml for these files. have you managed to be 100% https and what are your app.yaml patches ? |
I partially solved the problem: in fact my app.yaml patch was wrong. the correct one: * url: /login.* script: "main.py" secure: always