summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-03-21 10:54:15 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-03-21 10:54:15 +0000
commitec9c39c67ec46ae3a32e170decde3185817109a3 (patch)
tree0036a5b8dd9b1af167d59815851d0141901800c0
parent5b689301a2a13dd549ed86d236ff26db6e1fae82 (diff)
downloadtrove-setup-ec9c39c67ec46ae3a32e170decde3185817109a3.tar.gz
Enable directory listing in <trovehost>/releases
Enable lighttpd's directory listing for /releases. This is a link to the <trove_id>/site/releases repository's rsync store.
-rw-r--r--etc/lighttpd/git-httpd.conf4
1 files changed, 4 insertions, 0 deletions
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",