Changeset 53 in bookmarks for trunk/BookmarkApp


Ignore:
Timestamp:
08/15/13 19:48:39 (11 years ago)
Author:
peter
Message:
  • converted from a regular CGI application to a PSGI web application
  • added an app.psgi main script
  • use Plack::Middleware::ReverseProxy to adjust environment for when behind a reverse proxy
  • use Plack::Middleware::Auth::Digest to do HTTP digest authentication for non-GET requests
  • read in the db name, reverse proxy server IP, and digest password hash from a conf.yml config file
  • use the CGI::url method instead of trying to build the base URI from the %ENV hash
  • default to an empty tags parameter so split does not emit a warning
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BookmarkApp/Dispatch.pm

    r45 r53  
    33 
    44package BookmarkApp::Dispatch; 
    5 use base 'CGI::Application::Dispatch'; 
     5use base 'CGI::Application::Dispatch::PSGI'; 
    66 
    77sub dispatch_args { 
Note: See TracChangeset for help on using the changeset viewer.