Re: [google-appengine] redirection to HTTPS is not working for Python app.yaml

2011-08-19 Thread Nadun Kulatunge
 wow cool fun stuff  http://j.gs/I9f  i think you will like it

On Fri, Aug 19, 2011 at 12:22 PM, Gopal Patel patelgo...@gmail.com wrote:

 as of now this only works on appspot domains. for custom domain, https is
 still coming soon.


 On Fri, Aug 19, 2011 at 11:09 AM, Robert Kluin robert.kl...@gmail.comwrote:

 Are you testing on the development server or production?







 On Thu, Aug 18, 2011 at 16:43, thstart thst...@gmail.com wrote:
  to my Python app.yaml I added
  - url: /.*
script: main.py
secure: always
  BUT
  I don't get automatically redirected to the HTTPS
 
  What is wrong?
  According:
 
 http://code.google.com/appengine/docs/python/config/appconfig.html#Secure_URLs
 
  handlers:
 
  - url: /youraccount/.*
script: accounts.py
login: required
secure: always
 
  always. Requests for a URL that match this handler that do not use HTTPS
 are
  automatically redirected to the HTTPS URL with the same path. Query
  parameters are preserved for the redirect.
 
  --
  You received this message because you are subscribed to the Google
 Groups
  Google App Engine group.
  To view this discussion on the web visit
  https://groups.google.com/d/msg/google-appengine/-/3AK1D939P5sJ.
  To post to this group, send email to google-appengine@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.com.
  For more options, visit this group at
  http://groups.google.com/group/google-appengine?hl=en.
 

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


  --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.




-- 
Bye TC

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] redirection to HTTPS is not working for Python app.yaml

2011-08-19 Thread thstart
I am testing it on production: e.g. uploaded to Google cloud, but don't see 
the redirection
to https in the browser address bar.

I am using Python+Django+appengine_django helper

my actual app.yaml:
- url: /.*
  script: main.py
  secure: always

probably appengine_django helper is the culprit?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/n-l_VrHM260J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] redirection to HTTPS is not working for Python app.yaml

2011-08-19 Thread thstart
only works on appspot domains
yes I know, but it don't works on appspot - no redirection, it stays with 
http

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/sMi2W9XUipAJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] redirection to HTTPS is not working for Python app.yaml

2011-08-18 Thread thstart
to my Python app.yaml I added

- url: /.*
  script: main.py
*  secure: always*

BUT

*I don't get automatically redirected to the HTTPS*
*
*
*What is wrong?*
*
*
According:
http://code.google.com/appengine/docs/python/config/appconfig.html#Secure_URLs

handlers:

- url: /youraccount/.*
  script: accounts.py
  login: required
  *secure**: always*


always. Requests for a URL that match this handler that do not use HTTPS are
* automatically redirected to the HTTPS URL with the same path.* Query 
parameters are preserved for the redirect.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/3AK1D939P5sJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] redirection to HTTPS is not working for Python app.yaml

2011-08-18 Thread Robert Kluin
Are you testing on the development server or production?







On Thu, Aug 18, 2011 at 16:43, thstart thst...@gmail.com wrote:
 to my Python app.yaml I added
 - url: /.*
   script: main.py
   secure: always
 BUT
 I don't get automatically redirected to the HTTPS

 What is wrong?
 According:
 http://code.google.com/appengine/docs/python/config/appconfig.html#Secure_URLs

 handlers:

 - url: /youraccount/.*
   script: accounts.py
   login: required
   secure: always

 always. Requests for a URL that match this handler that do not use HTTPS are
 automatically redirected to the HTTPS URL with the same path. Query
 parameters are preserved for the redirect.

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/google-appengine/-/3AK1D939P5sJ.
 To post to this group, send email to google-appengine@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.