jrgifford / jaikuengine

Automatically exported from code.google.com/p/jaikuengine
Apache License 2.0
1 stars 0 forks source link

cant secure /login with https on gae #110

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

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) 

Original issue reported on code.google.com by tordjman...@gmail.com on 7 May 2009 at 1:10

GoogleCodeExporter commented 8 years ago
I partially solved the problem: in fact my app.yaml patch was wrong.

the correct one:

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

Original comment by tordjman...@gmail.com on 11 May 2009 at 1:26

GoogleCodeExporter commented 8 years ago
i'm not really sure what issue you are running into, is this still happening 
for you?

Original comment by andyster on 19 May 2009 at 1:31

GoogleCodeExporter commented 8 years ago
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 ?

Original comment by tordjman...@gmail.com on 19 May 2009 at 8:29