My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 110: cant secure /login with https on gae
3 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by tordjman...@gmail.com, May 7, 2009

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 11, 2009
#1 tordjman...@gmail.com
I partially solved the problem: in fact my app.yaml patch was wrong.

the correct one:

   * url: /login.*
      script: "main.py"
      secure: always


May 18, 2009
Project Member #2 andyster
i'm not really sure what issue you are running into, is this still happening for you?
May 19, 2009
#3 tordjman...@gmail.com
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 ?

Powered by Google Project Hosting