Skip to content

Instantly share code, notes, and snippets.

@brlafreniere
Last active January 4, 2016 04:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brlafreniere/8571622 to your computer and use it in GitHub Desktop.
Save brlafreniere/8571622 to your computer and use it in GitHub Desktop.
dir-listing.encoding = "utf-8"
server.dir-listing = "enable"
blaine@playground:/var/www$ ls -l
total 12
drwxr-xr-x 2 www-data www-data 4096 Jan 23 02:11 ftp
-rw-r--r-- 1 root root 3585 Jan 23 01:28 index.lighttpd.html
drwxr-xr-x 2 www-data www-data 4096 Jan 23 01:47 public
$HTTP["url"] =~ "^/ftp/" {
server.document-root = "/var/www/ftp"
dir-listing.activate = "enable"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment