summaryrefslogtreecommitdiffstats
path: root/abs/core/supplemental-web/lighttpd-supplement.conf
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/supplemental-web/lighttpd-supplement.conf')
-rw-r--r--abs/core/supplemental-web/lighttpd-supplement.conf14
1 files changed, 10 insertions, 4 deletions
diff --git a/abs/core/supplemental-web/lighttpd-supplement.conf b/abs/core/supplemental-web/lighttpd-supplement.conf
index a07564a..9d718bb 100644
--- a/abs/core/supplemental-web/lighttpd-supplement.conf
+++ b/abs/core/supplemental-web/lighttpd-supplement.conf
@@ -20,15 +20,21 @@ server.error-handler-404 = "/error/mythexport.html"
$HTTP["url"] =~ "(call_log)" {
server.error-handler-404 = "/error/call_log.html"
}
+
+
+$HTTP["url"] =~ "(zm)" {
+ server.error-handler-404 = "/error/zoneminder.html"
+ }
+
## error-handler for status 404
#server.error-handler-404 = "/error-handler.html"
server.errorfile-prefix = "/data/srv/httpd/htdocs/error/status-"
-alias.url = ( "/logs/" => "/var/log/" )
+alias.url += ( "/logs/" => "/var/log/" )
$HTTP["url"] =~ "^/logs($|/)" {
-dir-listing.activate= "enable"
-dir-listing.hide-dotfiles = "enable"
-dir-listing.external-css = "/frame.css"
+ dir-listing.activate= "enable"
+ dir-listing.hide-dotfiles = "enable"
+ dir-listing.external-css = "/frame.css"
}