/[meteor]/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

Diff of /trunk/meteord.conf.dist

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 21 by andrew.betts, Mon May 14 13:42:45 2007 UTC revision 33 by andrew.betts, Thu Dec 20 21:31:56 2007 UTC
# Line 1  Line 1 
1  ######################################################################  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\nOK
 # 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/  
 #  
 ######################################################################  
2    
3    HeaderTemplate1 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
4    
5  # Header template: ~server~, ~timestamp~ and ~status~ will be replaced by  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\n................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................\r\n
 # 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.  
6    
7  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  MaxTime 10
   
 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.  
   
 MaxTime 180  
   
   
 # Here PingMessage is the default, but we've adjusted the PingInterval to  
 # reduce it from the default 5 seconds to 3 seconds.  
8    
9  PingMessage <script>p(-1,"");</script>\r\n  PingMessage <script>p(-1,"");</script>\r\n
10  PingInterval 3  PingInterval 3
11    
   
 # There are many other config parameters that you can set - see the  
 # docs for more details.  
12    MessageTemplate <script>p(~id~,"~channel~","~text~");</script>\r\n

Legend:
Removed from v.21  
changed lines
  Added in v.33

  ViewVC Help
Powered by ViewVC 1.1.26