blob: aeac16b79a578eca744e6690ddd0fb531aa1d09f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
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" )
|