simplefiles

A lightweight C CGI web application for managing files.
git clone https://scm.kuandu.systems/git-raw/simplefiles.git
Log | Files | Refs | README | LICENSE

httpd-test.conf (318B)


      1 chroot "testroot"
      2 
      3 server "local" {
      4     listen on localhost port 8000
      5     root "/htdocs"
      6 
      7     authenticate with "auth/bob"
      8 
      9     connection max request body 524288000
     10 
     11     location "/default/" {
     12 				request rewrite "/default/list.cgi"
     13     }
     14 
     15     location "/*.cgi" {
     16         fastcgi socket "/run/slowcgi.sock"
     17     }
     18  
     19 }