summaryrefslogtreecommitdiffstats
path: root/linhes/linhes-web/linhes-web.conf
diff options
context:
space:
mode:
Diffstat (limited to 'linhes/linhes-web/linhes-web.conf')
-rw-r--r--linhes/linhes-web/linhes-web.conf68
1 files changed, 68 insertions, 0 deletions
diff --git a/linhes/linhes-web/linhes-web.conf b/linhes/linhes-web/linhes-web.conf
new file mode 100644
index 0000000..aeac16b
--- /dev/null
+++ b/linhes/linhes-web/linhes-web.conf
@@ -0,0 +1,68 @@
+#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" )