diff options
Diffstat (limited to 'abs/core/supplemental-web/lighttpd-supplement.conf')
-rw-r--r-- | abs/core/supplemental-web/lighttpd-supplement.conf | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/abs/core/supplemental-web/lighttpd-supplement.conf b/abs/core/supplemental-web/lighttpd-supplement.conf new file mode 100644 index 0000000..7b214bb --- /dev/null +++ b/abs/core/supplemental-web/lighttpd-supplement.conf @@ -0,0 +1,46 @@ +#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" +} + +## 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/" => "/data/home/mythtv/templates/" ) + +} + + +#### status module +status.status-url = "/server-status" +status.config-url = "/server-config" + +#ssi.extension = ( ".shtml" ) |