diff options
author | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-03-21 10:54:15 +0000 |
---|---|---|
committer | Adam Coldrick <adam.coldrick@codethink.co.uk> | 2014-03-21 10:54:15 +0000 |
commit | ec9c39c67ec46ae3a32e170decde3185817109a3 (patch) | |
tree | 0036a5b8dd9b1af167d59815851d0141901800c0 /etc | |
parent | 5b689301a2a13dd549ed86d236ff26db6e1fae82 (diff) | |
download | trove-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.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/lighttpd/git-httpd.conf | 4 |
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", |