Re: [pylons-discuss] Static Files on Elastic Beanstalk

2017-11-03 Thread Andrew Burnett
erver settings, reverse proxy settings (or aws load balancer), and WSGI > environ keys. Usually this involves X-Forwarded-Proto and Host headers from > the proxy and environ['SCRIPT_NAME'] + environ['PATH_INFO'] in the environ. > > - Michael > > On Fri, Nov 3, 2017 at 2:28 PM, And

Re: [pylons-discuss] Static Files on Elastic Beanstalk

2017-11-03 Thread Andrew Burnett
Gill wrote: > > Try request.static_path(…) > > e.g. href="${request.static_path('app:static/css/settings/globals.css')}"/> > > HTH, > Kamal > > > On Nov 1, 2017, at 4:03 PM, Andrew Burnett <andrewj...@gmail.com > > wrote: > > I'm trying

[pylons-discuss] Static Files on Elastic Beanstalk

2017-11-01 Thread Andrew Burnett
I'm trying to serve some static css, png's, etc. from my Pyramid app that's hosted on Elastic Beanstalk. It works fine on my local machine but when I try to run on EB, neither the CSS nor the images are found. Here's the relevant code: >From .ebextensions: option_settings:

Re: [pylons-discuss] Deploy Pyramid to Elastic Beanstalk

2016-07-18 Thread Andrew Burnett
? On Monday, July 18, 2016 at 9:47:03 AM UTC-7, Michael Merickel wrote: > > On Mon, Jul 18, 2016 at 11:43 AM, Andrew Burnett <ajbur...@gmail.com > > wrote: > >> You're a savior! I can't tell you how appreciate I am. What a bonehead >> move on my part, leaving out that

Re: [pylons-discuss] Deploy Pyramid to Elastic Beanstalk

2016-07-18 Thread Andrew Burnett
add some code to output your sys.path and it >>> should be clear why your code is not available. It sounds like your >>> dependencies were installed but the package itself is not on the path. >>> >>> On Sun, Jul 17, 2016 at 5:05 PM, Andrew Burnett

Re: [pylons-discuss] Deploy Pyramid to Elastic Beanstalk

2016-07-18 Thread Andrew Burnett
beanstalk experience but this is definitely a >>> path/virtualenv issue. I'd add some code to output your sys.path and it >>> should be clear why your code is not available. It sounds like your >>> dependencies were installed but the package itself is not on the path. >&g

[pylons-discuss] Deploy Pyramid to Elastic Beanstalk

2016-07-17 Thread Andrew Burnett
Does anyone have experience installing a Pyramid application via Elastic Beanstalk? My application deploys but I cannot configure the application's application.py (or pyramid.wsgi) file to work properly. Within get_app the following error occurs: File

[pylons-discuss] Re: Retrieve Pyramid's auth_tkt via HTTP response headers on mobile client

2015-04-21 Thread Andrew Burnett
the AuthTktAUthenticationPolicy and override the ``remember`` and ``forget`` methods to set headers instead of cookies. https://github.com/Pylons/pyramid/blob/1.6a1/pyramid/authentication.py#L654 Laurence On Monday, 20 April 2015 10:16:11 UTC-7, Andrew Burnett wrote: I am writing a mobile iOS application, which

[pylons-discuss] Re: Retrieve Pyramid's auth_tkt via HTTP response headers on mobile client

2015-04-21 Thread Andrew Burnett
the AuthTktAUthenticationPolicy and override the ``remember`` and ``forget`` methods to set headers instead of cookies. https://github.com/Pylons/pyramid/blob/1.6a1/pyramid/authentication.py#L654 Laurence On Monday, 20 April 2015 10:16:11 UTC-7, Andrew Burnett wrote: I am writing a mobile iOS application, which

[pylons-discuss] Retrieve Pyramid's auth_tkt via HTTP response headers on mobile client

2015-04-20 Thread Andrew Burnett
I am writing a mobile iOS application, which communicates with a Pyramid app on the backend. I am currently using Pyramid's built-in AuthTktAuthenticationPolicy. I've met some speed bumps while attempting to authenticate via a mobile client (iPhone). For starters, how would I send and