summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-01-09 01:52:28 +0000
committermh <mh@immerda.ch>2009-01-09 01:52:28 +0000
commit7d3a421c5c62c4a81d317acccd4a83a719557078 (patch)
tree64d8b6e30737710fb25ba0b41a11c0f46e76d4f3 /files
parent01ab2dc5a871a1becd07a35cb518a4acf3dcae7a (diff)
fixed config
Diffstat (limited to 'files')
-rw-r--r--files/web/lighttpd-gitweb-defaults.conf10
-rw-r--r--files/web/lighttpd.conf3
2 files changed, 1 insertions, 12 deletions
diff --git a/files/web/lighttpd-gitweb-defaults.conf b/files/web/lighttpd-gitweb-defaults.conf
deleted file mode 100644
index f653838..0000000
--- a/files/web/lighttpd-gitweb-defaults.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-url.redirect += (
- "^$" => "/",
-)
-
-alias.url += (
- "/" => "/var/www/git/gitweb.cgi",
- "/gitweb.css" => "/var/www/git/gitweb.css",
- "/git-logo.png" => "/var/www/git/git-logo.png",
- "/git-favicon.png" => "/var/www/git/git-favicon.png",
-)
diff --git a/files/web/lighttpd.conf b/files/web/lighttpd.conf
index 475d6ff..2f77c97 100644
--- a/files/web/lighttpd.conf
+++ b/files/web/lighttpd.conf
@@ -13,7 +13,7 @@
# - saves memory
server.modules = (
"mod_rewrite",
-# "mod_redirect",
+ "mod_redirect",
"mod_alias",
"mod_access",
# "mod_cml",
@@ -319,7 +319,6 @@ server.groupname = "lighttpd"
#include /etc/lighttpd/lighttpd-inc.conf
## same as above if you run: "lighttpd -f /etc/lighttpd/lighttpd.conf"
#include "lighttpd-inc.conf"
-include "lighttpd-gitweb-defaults.conf"
include "lighttpd-gitweb.conf"
#### include_shell