From ec9c39c67ec46ae3a32e170decde3185817109a3 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Fri, 21 Mar 2014 10:54:15 +0000 Subject: Enable directory listing in /releases Enable lighttpd's directory listing for /releases. This is a link to the /site/releases repository's rsync store. --- etc/lighttpd/git-httpd.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/lighttpd/git-httpd.conf b/etc/lighttpd/git-httpd.conf index 94e9c26..dea86de 100644 --- a/etc/lighttpd/git-httpd.conf +++ b/etc/lighttpd/git-httpd.conf @@ -35,6 +35,10 @@ mimetype.assign = ( ".css" => "text/css" ) +$HTTP["url"] =~ "^/releases(/|$)" { + server.dir-listing = "enable" +} + $HTTP["url"] =~ ".*/gitano-command.cgi$" { setenv.add-environment = ( "HOME" => "/home/git", -- cgit v1.2.1