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
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
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:
?
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
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
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
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
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
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
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
10 matches
Mail list logo