On Fri, Oct 23, 2009 at 2:51 PM, Ryan Headley <[email protected]>wrote:
> I could be wrong, but if I'm not, it would make sense that an ajax request
> may not work if someone was using admin over https and the ajax call went
> out of http (or vice versa). I thought that you couldn't have JS running
> across http to https, etc. I know you can't have cross-domain javascript.
>
> However that being said, when you say nothing can be saved, are you getting
> errors? See anything in either the apache or satchmo log files?
>
>
I can get a RunTimeError with DEBUG=True:
Django can't perform a SSL redirect while maintaining POST data.
Please structure your views so that redirects only occur during GETs.
Also interesting is that I get 'wsgi.url_scheme': 'http', in local vars -
does this mean Im not picking up the header that the load balancer sent? If
I change environ.get('HTTP_X_URL_SCHEME','http') to
environ.get('X-Url-Scheme','http') (this is what is seen in a tcpdump) I
just get a redirect loop, which would seem that its picknig it up correctly,
ut the form is tryinmng to post to http, not https
Any further tips much appreciated!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en
-~----------~----~----~----~------~----~------~--~---