Changeset 36023 in project


Ignore:
Timestamp:
07/29/18 19:48:24 (14 months ago)
Author:
sjamaan
Message:

Add spiffy to eggref/5

File:
1 copied

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/spiffy

    r36014 r36023  
    1616=== Requirements
    1717
    18 Requires the [[intarweb]], [[uri-common]], [[uri-generic]] and [[sendfile]] extensions.
     18Requires the following extensions:
     19
     20* [[intarweb]]
     21* [[uri-common]]
     22* [[uri-generic]]
     23* [[sendfile]]
     24* [[posix-groups]]
     25* [[srfi-1]]
     26* [[srfi-13]]
     27* [[srfi-14]]
     28* [[srfi-18]]
    1929
    2030=== Documentation
     
    2636To test it out immediately, try the following command after installing:
    2737
    28   $ csi -e "(use spiffy) (start-server)"
     38  $ csi -e "(import spiffy) (start-server)"
    2939
    3040This starts up a spiffy server which listens on port 8080, and serves
     
    8696
    8797<enscript highlight="scheme">
    88 (use chicken-syntax) ; This must done at the very toplevel so that it is available in the interaction-environment.
    89 (use spiffy openssl)
     98(import spiffy openssl)
    9099
    91100(server-port 443)
     
    656665
    657666<enscript highlight=scheme>
    658 (use spiffy)
     667(import spiffy)
    659668
    660669(server-port 80)
     
    669678
    670679<enscript highlight=scheme>
    671 (use spiffy)
     680(import spiffy)
    672681
    673682(parameterize ((server-port 80)
     
    687696
    688697<enscript highlight="scheme">
    689 (use spiffy intarweb uri-common)
     698(import spiffy intarweb uri-common)
    690699
    691700(define (handle-greeting continue)
     
    725734
    726735<enscript highlight=scheme>
    727 (use spiffy intarweb uri-common)
     736(import spiffy intarweb uri-common)
    728737
    729738(vhost-map `(("example.com"
     
    741750
    742751<enscript highlight=scheme>
    743 (use spiffy intarweb uri-common)
     752(import spiffy intarweb uri-common)
    744753
    745754; Generates a handler that can be used in vhost-map that will cause all requests to that URL to be rewritten to the domain specified in 'to'.
     
    777786=== Changelog
    778787
     788* 6.0: Port to CHICKEN 5.
    779789* 5.4.2: Use proper 2-element vectors for {{date}} and {{last-modified}} headers, for compatibility with intarwebs newer than 1.6.1.
    780790* 5.4.1: Once again allow backslashes in paths on UNIX-like platforms in CHICKENs where {{make-pathname}} was fixed.  Improve request handling performance.  Remove over-reliance on undocumented {{alist-ref}} comparison procedure's argument order (which will be changed in CHICKEN 4.11).
     
    807817=== License
    808818
    809   Copyright (c) 2005-2017, Felix L. Winkelmann and Peter Bex
     819  Copyright (c) 2005-2018, Felix L. Winkelmann and Peter Bex
    810820  All rights reserved.
    811821 
Note: See TracChangeset for help on using the changeset viewer.