summaryrefslogtreecommitdiffstats
path: root/abs/core/supplemental-web
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-02 22:25:06 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-02 22:25:06 (GMT)
commit137ade2a19ece6170ba29fa954a9a1c3ccbb9f9c (patch)
tree23caa7eb0ddb4edd37b27b235607384a9ded5f00 /abs/core/supplemental-web
parentef9499bac6cd2664a8ab6269f2419e7e9207a82a (diff)
downloadlinhes_pkgbuild-137ade2a19ece6170ba29fa954a9a1c3ccbb9f9c.zip
linhes_pkgbuild-137ade2a19ece6170ba29fa954a9a1c3ccbb9f9c.tar.gz
linhes_pkgbuild-137ade2a19ece6170ba29fa954a9a1c3ccbb9f9c.tar.bz2
supplemental-web: added unique zoneminder 404 page
refs #857
Diffstat (limited to 'abs/core/supplemental-web')
-rw-r--r--abs/core/supplemental-web/PKGBUILD2
-rw-r--r--abs/core/supplemental-web/lighttpd-supplement.conf14
2 files changed, 11 insertions, 5 deletions
diff --git a/abs/core/supplemental-web/PKGBUILD b/abs/core/supplemental-web/PKGBUILD
index 4e8c07b..237d4da 100644
--- a/abs/core/supplemental-web/PKGBUILD
+++ b/abs/core/supplemental-web/PKGBUILD
@@ -32,6 +32,6 @@ build() {
}
-md5sums=('400abe98c97848f8b12c5eb111ac47e4'
+md5sums=('521714803b5a3df529f0fc5f853c0d55'
'3d8c7b430c1319d706ca420825918d2a'
'81cdb6ee6804fa36366c6e259a80e7b4')
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"
}