/[meteor]/googlecode.com/svn/trunk/meteord.conf.dist
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /googlecode.com/svn/trunk/meteord.conf.dist

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15 - (show annotations)
Mon Apr 30 18:42:00 2007 UTC (12 years, 6 months ago) by andrew.betts
File size: 2586 byte(s)
modified header templates.

1 ######################################################################
2 # meteord sample configuratiuon file
3 #
4 # You may need to change or add settings in here to get Meteor to do
5 # what you need on your particular system. See the following page
6 # in the documentation for full details of all available configuration
7 # parameters:
8 #
9 # http://www.meteorserver.org/server-docs/
10 #
11 ######################################################################
12
13
14 # Header template: ~server~, ~timestamp~ and ~status~ will be replaced by
15 # the appropriate values
16 #
17 # The value of HeaderTemplate is reproduced from the default value - it's
18 # included here for completeness because we've added a HeaderTemplate2
19 # (below). HeaderTemplate is designed for use with 'forever frame'
20 # connections in Microsoft Internet Explorer. HeaderTemplate2 is not
21 # intended to ever be evaluated as HTML, and therefore is much shorter - it
22 # is used with the XMLHTTPRequest object. If you are using Meteor with a
23 # non-browser-based client, there may be no need for a header template at
24 # all.
25
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<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="r()">\r\n
27
28 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
29
30
31 # Setting a maximum time limit on streaming connections will help prevent
32 # zombies from hanging around forever.
33
34 MaxTime 180
35
36
37 # Here PingMessage is the default, but we've adjusted the PingInterval to
38 # reduce it from the default 5 seconds to 3 seconds.
39
40 PingMessage <script>p(-1,"");</script>\r\n
41 PingInterval 3
42
43
44 # There are many other config parameters that you can set - see the
45 # docs for more details.

  ViewVC Help
Powered by ViewVC 1.1.26