summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2009-01-09 01:38:07 +0000
committermh <mh@immerda.ch>2009-01-09 01:38:07 +0000
commit01ab2dc5a871a1becd07a35cb518a4acf3dcae7a (patch)
tree1ade72482bbb3bfabdcb6ce5408273b67adde215
parent1e805e721ae5d1f2dfe0a306596890edb4950e75 (diff)
fixing lighttpd config
-rw-r--r--files/web/lighttpd.conf6
-rw-r--r--manifests/defines.pp2
2 files changed, 4 insertions, 4 deletions
diff --git a/files/web/lighttpd.conf b/files/web/lighttpd.conf
index 582f4e7..475d6ff 100644
--- a/files/web/lighttpd.conf
+++ b/files/web/lighttpd.conf
@@ -15,7 +15,7 @@ server.modules = (
"mod_rewrite",
# "mod_redirect",
"mod_alias",
-# "mod_access",
+ "mod_access",
# "mod_cml",
# "mod_trigger_b4_dl",
# "mod_auth",
@@ -319,8 +319,8 @@ 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 /etc/lighttpd/lighttpd-gitweb-defaults.conf
-include /etc/lighttpd/lighttpd-gitweb.conf
+include "lighttpd-gitweb-defaults.conf"
+include "lighttpd-gitweb.conf"
#### include_shell
#include_shell "echo var.a=1"
diff --git a/manifests/defines.pp b/manifests/defines.pp
index 0f52c23..eea5077 100644
--- a/manifests/defines.pp
+++ b/manifests/defines.pp
@@ -40,7 +40,7 @@ define git::web::repo::lighttpd(
owner => root, group => 0, mode => 0644;
}
line{"add_include_of_gitwebrepo_${name}":
- line => "Include /etc/lighttpd/gitweb.d/${name}.conf",
+ line => "include \"gitweb.d/${name}.conf\"",
file => "/etc/lighttpd/lighttpd-gitweb.conf",
require => File['/etc/lighttpd/lighttpd-gitweb.conf'],
notify => Service['lighttpd'],