diff options
Diffstat (limited to 'abs/core/supplemental-web/lighttpd-supplement.conf')
-rw-r--r-- | abs/core/supplemental-web/lighttpd-supplement.conf | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/abs/core/supplemental-web/lighttpd-supplement.conf b/abs/core/supplemental-web/lighttpd-supplement.conf index 24e1b4a..a86cfc6 100644 --- a/abs/core/supplemental-web/lighttpd-supplement.conf +++ b/abs/core/supplemental-web/lighttpd-supplement.conf @@ -20,15 +20,29 @@ server.error-handler-404 = "/error/mythexport.html" $HTTP["url"] =~ "(call_log)" { server.error-handler-404 = "/error/call_log.html" } + +$HTTP["url"] =~ "(mythexpress)" { + server.error-handler-404 = "/error/mythexpress.html" +} + +$HTTP["url"] =~ "(remyth)" { + server.error-handler-404 = "/error/remyth.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" } @@ -41,7 +55,7 @@ dir-listing.external-css = "/frame.css" $SERVER["socket"] == ":1337" { server.document-root = "/data/srv/httpd/cgi/" - alias.url = ( "/templates/" => "/data/home/mythtv/templates/" ) + alias.url = ( "/templates/" => "/home/mythtv/templates/" ) } |