diff options
Diffstat (limited to 'abs/core/supplemental-web/supplemental-web.include')
-rw-r--r-- | abs/core/supplemental-web/supplemental-web.include | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/abs/core/supplemental-web/supplemental-web.include b/abs/core/supplemental-web/supplemental-web.include new file mode 100644 index 0000000..a86cfc6 --- /dev/null +++ b/abs/core/supplemental-web/supplemental-web.include @@ -0,0 +1,67 @@ +#server.errorlog-use-syslog = "enable" +#$HTTP["url"] !~ "\.(jpe?g|png|gif|css)" { accesslog.use-syslog = "enable" } + +$HTTP["url"] =~ "(mythweb)" { +server.error-handler-404 = "/error/mythweb.html" +} + +$HTTP["url"] =~ "(phpMyAdmin)" { +server.error-handler-404 = "/error/phpadmin.html" +} + +$HTTP["url"] =~ "(xymon)" { +server.error-handler-404 = "/error/hobbit.html" +} + +$HTTP["url"] =~ "(mythexport)" { +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/" ) +$HTTP["url"] =~ "^/logs($|/)" { + dir-listing.activate= "enable" + dir-listing.hide-dotfiles = "enable" + dir-listing.external-css = "/frame.css" +} + + + +#cgi.assign = ( ".pl" => "/usr/bin/perl", +# ".sh" => "/bin/bash" , +# ".py" => "/usr/bin/python" , +# ".cgi" => "/bin/bash" ) + + +$SERVER["socket"] == ":1337" { + server.document-root = "/data/srv/httpd/cgi/" + alias.url = ( "/templates/" => "/home/mythtv/templates/" ) + +} + + +#### status module +status.status-url = "/server-status" +status.config-url = "/server-config" + +#ssi.extension = ( ".shtml" ) |