• OpenGeObama Development

  • Re: permissions, man

    from David Winslow on Aug 28, 2008 10:37 PM
    It sounds like your browser is requesting the images before you put in 
    the authentication credentials (hence getting a ton of challenges all at 
    once.)  Password-protecting the directory containing your geobama 
    checkout should fix this (by sending firefox a challenge before it has 
    enough of the document to request any image resources).  I've committed 
    a snippet (scripts/globalauth.conf) that does this for Fedora; if that's 
    not enough to get you going I'll have to take a look in person some time.
    
    -d
    
    Sebastian Benthall wrote:
    > Hmm.  So, things are still pretty broken, although crippling the
    > javascript (something about automatically reloading tiles to avoid
    > pink tiles?) has made it stop getting a bunch of challenges that crash
    > firefox.
    >
    > What I've finding is that I'm not able to log in as staffer though.  I
    > trust my ability to type passwords enough at this point to think there
    > is something going wrong there.
    >
    > One difference between the local setup and the one one obama.kepp.net
    > might be that I'm proxying all my requests with an Apache ProxyPass.
    > Could that be making things harder to authenticate for some reason?
    >
    > On Wed, Aug 27, 2008 at 10:14 PM, David Winslow <dwinslow@...> wrote:
    >   
    >> Apache should be forwarding the authentication info (in both directions) so
    >> that logging in to a local instance works exactly like logging into the live
    >> site.  What does 'starts to break' mean?
    >> Also, the only thing that's changed on the server in the last week is the
    >> addition of a tilecache layer (which should have no effect on
    >> authentication) and whatever style changes you've made.
    >>
    >> -d
    >>
    >> Sebastian Benthall wrote:
    >>     
    >>> So, I'm trying to develop this thing locally, and Firefox starts to
    >>> break whenever I load the page.  I think it has to do with those
    >>> challenges bouncing back and forth.  Yesterday I made some progress
    >>> against that by sneakily authenticating against the obama.kepp.net
    >>> version and then looking at the localhost page, but tonight that's not
    >>> working. Did something change with the inclusion of that new targeting
    >>> layer?
    >>>
    >>>
    >>> --
    >>> Archive:
    >>> http://www.openplans.org/projects/opengeobama/lists/opengeobama-dev/archive/2008/08/1219888715171
    >>> To unsubscribe send an email with subject "unsubscribe" to
    >>> opengeobama-dev@....  Please contact
    >>> opengeobama-dev-manager@... for questions.
    >>>
    >>>
    >>>       
    >>
    >> --
    >> Archive:
    >> http://www.openplans.org/projects/opengeobama/lists/opengeobama-dev/archive/2008/08/1219889691627
    >> To unsubscribe send an email with subject "unsubscribe" to
    >> opengeobama-dev@....  Please contact
    >> opengeobama-dev-manager@... for questions.
    >>
    >>
    >>     
    >
    >
    > --
    > Archive: http://www.openplans.org/projects/opengeobama/lists/opengeobama-dev/archive/2008/08/1219975378556
    > To unsubscribe send an email with subject "unsubscribe" to opengeobama-dev@....  Please contact opengeobama-dev-manager@... for questions.
    >
    >   
    
    
    Thread Outline:
  • Re: permissions, man

    from David Winslow on Aug 28, 2008 10:43 PM
    BTW, just to be clear, this is something I fixed and forgot a long time 
    ago, aka an abysmal failing on my part to propagate the fix.  Sorry Seb!
    
    -d