Changeset 29907 in project


Ignore:
Timestamp:
10/11/13 16:05:29 (8 years ago)
Author:
sjamaan
Message:

Add dropping privileges to "minimal example", for people who will blindly copy/paste and call it a day

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/spiffy

    r29904 r29907  
    647647(server-port 80)
    648648(root-path "/var/www")
     649;; When dropping privileges, switch to this user
     650(spiffy-user "httpd")
     651(spiffy-group "httpd")
    649652(start-server)
    650653</enscript>
    651654
    652 One could also use parameterize:
     655One could also use parameterize (according to taste):
    653656
    654657<enscript highlight=scheme>
     
    656659
    657660(parameterize ((server-port 80)
     661               (spiffy-user "httpd")
     662               (spiffy-group "httpd")
    658663               (root-path "/var/www"))
    659664  (start-server))
Note: See TracChangeset for help on using the changeset viewer.