|
###################################################################### |
|
|
# meteord sample configuratiuon file |
|
|
# |
|
|
# You may need to change or add settings in here to get Meteor to do |
|
|
# what you need on your particular system. See the following page |
|
|
# in the documentation for full details of all available configuration |
|
|
# parameters: |
|
|
# |
|
|
# http://www.meteorserver.org/server-docs/ |
|
|
# |
|
|
###################################################################### |
|
|
|
|
|
|
|
|
# Header template: ~server~, ~timestamp~ and ~status~ will be replaced by |
|
|
# the appropriate values |
|
|
# |
|
|
# The value of HeaderTemplate is reproduced from the default value - it's |
|
|
# included here for completeness because we've added a HeaderTemplate2 |
|
|
# (below). HeaderTemplate is designed for use with 'forever frame' |
|
|
# connections in Microsoft Internet Explorer. HeaderTemplate2 is not |
|
|
# intended to ever be evaluated as HTML, and therefore is much shorter - it |
|
|
# is used with the XMLHTTPRequest object. If you are using Meteor with a |
|
|
# non-browser-based client, there may be no need for a header template at |
|
|
# all. |
|
|
|
|
|
HeaderTemplate HTTP/1.1 ~status~\r\nServer: ~server~\r\nContent-Type: text/html; charset=utf-8\r\nPragma: no-cache\r\nCache-Control: no-cache, no-store, must-revalidate\r\nExpires: Thu, 1 Jan 1970 00:00:00 GMT\r\n\r\n<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r\n<meta http-equiv="Cache-Control" content="no-store">\r\n<meta http-equiv="Cache-Control" content="no-cache">\r\n<meta http-equiv="Pragma" content="no-cache">\r\n<meta http-equiv="Expires" content="Thu, 1 Jan 1970 00:00:00 GMT">\r\n<script type="text/javascript">\r\nwindow.onError = null;\r\nvar domainparts = document.domain.split(".");\r\ndocument.domain = domainparts[domainparts.length-2]+"."+domainparts[domainparts.length-1];\r\nparent.Meteor.register(this);\r\n</script>\r\n</head>\r\n<body onload="parent.Meteor.reset(this)">\r\n |
|
|
|
|
|
HeaderTemplate2 HTTP/1.1 ~status~\r\nServer: ~server~\r\nContent-Type: text/html; charset=utf-8\r\nPragma: no-cache\r\nCache-Control: no-cache, no-store, must-revalidate\r\nExpires: Thu, 1 Jan 1970 00:00:00 GMT\r\n\r\nMeteor server data stream\r\n |
|
|
|
|
|
|
|
|
# Setting a maximum time limit on streaming connections will help prevent |
|
|
# zombies from hanging around forever. |
|
|
|
|
1 |
MaxTime 180 |
MaxTime 180 |
2 |
|
PingInterval 3 |
3 |
|
Debug 0 |
4 |
|
SyslogFacility none |
5 |
|
|
6 |
|
[iframe] |
7 |
# Here PingMessage is the default, but we've adjusted the PingInterval to |
HeaderTemplate HTTP/1.1 ~status~\r\nServer: ~server~\r\nContent-Type: text/html; charset=utf-8\r\nPragma: no-cache\r\nCache-Control: no-cache, no-store, must-revalidate\r\nExpires: Thu, 1 Jan 1970 00:00:00 GMT\r\n\r\n<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r\n<meta http-equiv="Cache-Control" content="no-store">\r\n<meta http-equiv="Cache-Control" content="no-cache">\r\n<meta http-equiv="Pragma" content="no-cache">\r\n<meta http-equiv="Expires" content="Thu, 1 Jan 1970 00:00:00 GMT">\r\n<script type="text/javascript">\r\nwindow.onError = null;\r\nvar domainparts = document.domain.split(".");\r\ndocument.domain = domainparts[domainparts.length-2]+"."+domainparts[domainparts.length-1];\r\nparent.Meteor.register(this);\r\n</script>\r\n</head>\r\n<body onload="try { parent.Meteor.reset(this) } catch (e) {}">\r\n |
8 |
# reduce it from the default 5 seconds to 3 seconds. |
MessageTemplate <script>p(~id~,"~channel~","~text~");</script>\r\n |
|
|
|
9 |
PingMessage <script>p(-1,"");</script>\r\n |
PingMessage <script>p(-1,"");</script>\r\n |
10 |
PingInterval 3 |
Persist 1 |
11 |
|
|
12 |
|
[xhrinteractive] |
13 |
|
HeaderTemplate HTTP/1.1 ~status~\r\nServer: ~server~\r\nContent-Type: text/html; charset=utf-8\r\nPragma: no-cache\r\nCache-Control: no-cache, no-store, must-revalidate\r\nExpires: Thu, 1 Jan 1970 00:00:00 GMT\r\n\r\n.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................\r\n |
14 |
|
Persist 1 |
15 |
|
PingMessage <script>p(-1,"");</script>\r\n |
16 |
|
|
|
# There are many other config parameters that you can set - see the |
|
|
# docs for more details. |
|
17 |
|
[simplepoll] |
18 |
|
HeaderTemplate HTTP/1.1 ~status~\r\nServer: ~server~\r\nContent-Type: text/html; charset=utf-8\r\nPragma: no-cache\r\nCache-Control: no-cache, no-store, must-revalidate\r\nExpires: Thu, 1 Jan 1970 00:00:00 GMT\r\n\r\n~channelinfo~ |
19 |
|
MessageTemplate ~id~/~channel~/~text~\r\n |
20 |
|
|
21 |
|
[smartpoll] |
22 |
|
HeaderTemplate HTTP/1.1 ~status~\r\nServer: ~server~\r\nContent-Type: text/html; charset=utf-8\r\nPragma: no-cache\r\nCache-Control: no-cache, no-store, must-revalidate\r\nExpires: Thu, 1 Jan 1970 00:00:00 GMT\r\n\r\n~channelinfo~ |
23 |
|
MessageTemplate ~id~/~channel~/~text~\r\n |
24 |
|
|
25 |
|
[longpoll] |
26 |
|
HeaderTemplate HTTP/1.1 ~status~\r\nServer: ~server~\r\nContent-Type: text/html; charset=utf-8\r\nPragma: no-cache\r\nCache-Control: no-cache, no-store, must-revalidate\r\nExpires: Thu, 1 Jan 1970 00:00:00 GMT\r\n\r\n~channelinfo~ |
27 |
|
MessageTemplate ~id~/~channel~/~text~\r\n |
28 |
|
Persist 1 |
29 |
|
MaxMessages 1 |
30 |
|
|
31 |
|
[flash] |
32 |
|
HeaderTemplate ~channelinfo~ |
33 |
|
Persist 1 |
34 |
|
MessageTemplate ~id~/~channel~/~text~\0 |
35 |
|
PingMessage .\0 |
36 |
|
SubscriberShutdownMsg x\0 |
37 |
|
ChannelInfoTemplate CH/~name~/~lastMsgID~\0 |
38 |
|
|
39 |
|
[flashloadvars] |
40 |
|
HeaderTemplate HTTP/1.1 ~status~\r\nServer: ~server~\r\nContent-Type: text/html; charset=utf-8\r\nPragma: no-cache\r\nCache-Control: no-cache, no-store, must-revalidate\r\nExpires: Thu, 1 Jan 1970 00:00:00 GMT\r\n\r\n~channelinfo~ |
41 |
|
MessageTemplate ~id~/~channel~/~text~\n |
42 |
|
Persist 1 |
43 |
|
MaxMessages 1 |
44 |
|
PingMessage |
45 |
|
ChannelInfoTemplate CH/~name~/~lastMsgID~\n |
46 |
|
SubscriberShutdownMsg x\n |